firebase.json
{
"hosting": {
"public": "build",
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
],
"headers": [ {
"source" : "**/*.@(eot|otf|ttf|ttc|woff|font.css)",
"headers" : [ {
"key" : "Access-Control-Allow-Origin",
"value" : "*"
} ]
}, {
"source" : "**/*.@(jpg|jpeg|gif|png|svg)",
"headers" : [ {
"key" : "Access-Control-Allow-Origin",
"value" : "*"
},
{
"key" : "Cache-Control",
"value" : "max-age=7200"
} ]
}
]
}
}