Skip to content

Commit

Permalink
Added config for firebsae hosting
Browse files Browse the repository at this point in the history
  • Loading branch information
dbecker1 committed Apr 1, 2020
1 parent 93e04a3 commit 02f8f74
Show file tree
Hide file tree
Showing 4 changed files with 112 additions and 83 deletions.
5 changes: 5 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "takeaim-cabd0"
}
}
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,6 @@ yarn-error.log*

/.idea
.idea
.idea/
.idea/

/.firebase
167 changes: 85 additions & 82 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"hosting": {
"public": "build",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"headers": [
{"source": "/service-worker.js", "headers": [{"key": "Cache-Control", "value": "no-cache"}]}
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}

0 comments on commit 02f8f74

Please sign in to comment.