mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-24 05:32:03 +10:00
fix firebase deploy settings
This commit is contained in:
@ -1,5 +1,14 @@
|
|||||||
{
|
{
|
||||||
"projects": {
|
"projects": {
|
||||||
"default": "rx-resume"
|
"default": "rx-resume"
|
||||||
|
},
|
||||||
|
"targets": {
|
||||||
|
"rx-resume": {
|
||||||
|
"hosting": {
|
||||||
|
"rxresume": [
|
||||||
|
"public"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1,53 +1,13 @@
|
|||||||
{
|
{
|
||||||
"hosting": [
|
"hosting": {
|
||||||
{
|
|
||||||
"target": "rxresume",
|
"target": "rxresume",
|
||||||
"public": "public",
|
"public": "./public",
|
||||||
"ignore": [
|
"ignore": [
|
||||||
"**/.*",
|
"**/.*",
|
||||||
"firebase.json",
|
"firebase.json",
|
||||||
"**/node_modules/**"
|
"**/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"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"emulators": {
|
"emulators": {
|
||||||
"functions": {
|
"functions": {
|
||||||
"port": 5001
|
"port": 5001
|
||||||
|
|||||||
Reference in New Issue
Block a user