fix: actually refrence storage rules and add cache control (#302)

pull/338/head
Tom Arra 2 years ago committed by GitHub
parent e3355bccbd
commit 86626bb059
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2,10 +2,29 @@
"hosting": { "hosting": {
"public": "build/web", "public": "build/web",
"site": "ashehwkdkdjruejdnensjsjdne", "site": "ashehwkdkdjruejdnensjsjdne",
"ignore": [ "ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
"firebase.json", "headers": [
"**/.*", {
"**/node_modules/**" "source": "**/*.@(jpg|jpeg|gif|png)",
"headers": [
{
"key": "Cache-Control",
"value": "max-age=3600"
}
]
},
{
"source": "**",
"headers": [
{
"key": "Cache-Control",
"value": "no-cache, no-store, must-revalidate"
}
]
}
] ]
},
"storage": {
"rules": "storage.rules"
} }
} }

Loading…
Cancel
Save