diff --git a/firebase.json b/firebase.json index 4c9bf7f..9330504 100644 --- a/firebase.json +++ b/firebase.json @@ -1,22 +1,10 @@ { "hosting": { "headers": [{ - "source" : "**/*.@(eot|otf|ttf|ttc|woff|font.css)", - "headers" : [ { - "key" : "Access-Control-Allow-Origin", - "value" : "*" - } ] - }, { - "source" : "**/*.@(js|css)", + "source" : "**/*.@(js|css|jpg|jpeg|gif|png|svg|webp|woff2)", "headers" : [ { "key" : "Cache-Control", - "value" : "max-age=604800" - } ] - }, { - "source" : "**/*.@(jpg|jpeg|gif|png|svg)", - "headers" : [ { - "key" : "Cache-Control", - "value" : "max-age=604800" + "value" : "max-age=31536000" } ] }], "public": ".output/public",