update firebase hosting link to functions

This commit is contained in:
Amruth Pillai
2020-07-13 16:52:26 +05:30
parent cf5d0b9571
commit 48b11de774
+47 -4
View File
@@ -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"
}
]
}],