mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-23 05:01:49 +10:00
fix firebase deploy settings
This commit is contained in:
@ -1,5 +1,14 @@
|
||||
{
|
||||
"projects": {
|
||||
"default": "rx-resume"
|
||||
},
|
||||
"targets": {
|
||||
"rx-resume": {
|
||||
"hosting": {
|
||||
"rxresume": [
|
||||
"public"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,53 +1,13 @@
|
||||
{
|
||||
"hosting": [
|
||||
{
|
||||
"target": "rxresume",
|
||||
"public": "public",
|
||||
"ignore": [
|
||||
"**/.*",
|
||||
"firebase.json",
|
||||
"**/node_modules/**"
|
||||
],
|
||||
"headers": [
|
||||
{
|
||||
"source": "**/*",
|
||||
"headers": [
|
||||
{
|
||||
"key": "cache-control",
|
||||
"value": "cache-control: public, max-age=86400, must-revalidate"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "static/**",
|
||||
"headers": [
|
||||
{
|
||||
"key": "cache-control",
|
||||
"value": "public, max-age=604800, immutable"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "**/*.@(css|js|woff2|jpg|png)",
|
||||
"headers": [
|
||||
{
|
||||
"key": "cache-control",
|
||||
"value": "public, max-age=86400, immutable"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "sw.js",
|
||||
"headers": [
|
||||
{
|
||||
"key": "cache-control",
|
||||
"value": "cache-control: public, max-age=86400, must-revalidate"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"hosting": {
|
||||
"target": "rxresume",
|
||||
"public": "./public",
|
||||
"ignore": [
|
||||
"**/.*",
|
||||
"firebase.json",
|
||||
"**/node_modules/**"
|
||||
]
|
||||
},
|
||||
"emulators": {
|
||||
"functions": {
|
||||
"port": 5001
|
||||
|
||||
Reference in New Issue
Block a user