setting up firebase deployment and hosting

This commit is contained in:
talksik
2020-09-04 11:30:06 -07:00
parent 2d5cd971b9
commit e271793ce1
5 changed files with 48 additions and 1 deletions
+18
View File
@@ -0,0 +1,18 @@
{
"hosting": {
"public": "build",
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
],
"headers": [
{
"source": "/service-worker.js",
"headers": [{ "key": "Cache-Control", "value": "no-cache" }]
}
]
}
}