mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-13 06:24:54 +10:00
update firebase hosting link to functions
This commit is contained in:
+47
-4
@@ -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"
|
||||
}
|
||||
]
|
||||
}],
|
||||
|
||||
Reference in New Issue
Block a user