Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

update firebase hosting link to functions

Amruth Pillai48b11de774c1
diff --git a/firebase.json b/firebase.json
index 22c0513af..b1bcd5195 100644
--- a/firebase.json
+++ b/firebase.json
@@ -7,6 +7,53 @@
"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)",
+ "headers": [
+ {
+ "key": "cache-control",
+ "value": "public, max-age=31536000, immutable"
+ }
+ ]
+ },
+ {
+ "source": "sw.js",
+ "headers": [
+ {
+ "key": "cache-control",
+ "value": "cache-control: public, max-age=0, must-revalidate"
+ }
+ ]
+ },
+ {
+ "source": "page-data/**",
+ "headers": [
+ {
+ "key": "cache-control",
+ "value": "cache-control: public, max-age=0, must-revalidate"
+ }
+ ]
+ }
+ ],
"rewrites": [
{
"source": "/printSinglePageResume",
@@ -15,10 +62,6 @@
{
"source": "/printMultiPageResume",
"function": "printMultiPageResume"
- },
- {
- "source": "**",
- "destination": "/index.html"
}
]
}],