diff --git a/.firebaserc b/.firebaserc new file mode 100644 index 0000000..ae321fd --- /dev/null +++ b/.firebaserc @@ -0,0 +1,5 @@ +{ + "projects": { + "default": "wow-places" + } +} diff --git a/firebase.json b/firebase.json new file mode 100644 index 0000000..7ff5623 --- /dev/null +++ b/firebase.json @@ -0,0 +1,39 @@ +{ + "hosting": { + "public": "build", + "ignore": [ + "firebase.json", + "**/.*", + "**/node_modules/**" + ], + "headers": [ + { + "source": "**/*", + "headers": [ + { + "key": "cache-control", + "value": "cache-control: public, max-age=0, must-revalidate" + } + ] + }, + { + "source": "static/**", + "headers": [ + { + "key": "cache-control", + "value": "public, max-age=31536000, immutable" + } + ] + }, + { + "source": "**/*.@(css|js|ogg|mp3)", + "headers": [ + { + "key": "cache-control", + "value": "public, max-age=31536000, immutable" + } + ] + } + ] + } +} diff --git a/public/index.html b/public/index.html index 47d9cf3..0126070 100644 --- a/public/index.html +++ b/public/index.html @@ -14,15 +14,6 @@ WoW Best Places