updating to make it more mobile optimized, making it a pwa, and testing it out on a phone
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"hosting": {
|
||||
"site": "jambuddy",
|
||||
"public": "dist",
|
||||
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
|
||||
"rewrites": [{ "source": "**", "destination": "/index.html" }],
|
||||
"headers": [
|
||||
{
|
||||
"source": "**/*.@(js|css|svg|png|ico|woff2|webmanifest)",
|
||||
"headers": [
|
||||
{ "key": "Cache-Control", "value": "public, max-age=31536000, immutable" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "/sw.js",
|
||||
"headers": [
|
||||
{ "key": "Cache-Control", "value": "no-cache" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "/index.html",
|
||||
"headers": [
|
||||
{ "key": "Cache-Control", "value": "no-cache" }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user