Skip to content

Commit

Permalink
Add firebase.json, update the auth domain inside .env
Browse files Browse the repository at this point in the history
  • Loading branch information
ggeorgievx committed Feb 17, 2020
1 parent e560568 commit 5c7287f
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
REACT_APP_GOOGLE_API_KEY=AIzaSyBDzQHuQl1bQkhb8ohvT3U8u4k7pfUwjV0
REACT_APP_API_KEY=AIzaSyCqubqXnU75kuNNpyVjcHM6ABKrBFAK27Y
REACT_APP_AUTH_DOMAIN=auth.pub-crawl.app
REACT_APP_AUTH_DOMAIN=pub-crawl-267516.firebaseapp.com
REACT_APP_DATABASE_URL=https://pub-crawl-267516.firebaseio.com
REACT_APP_PROJECT_ID=pub-crawl-267516
REACT_APP_STORAGE_BUCKET=pub-crawl-267516.appspot.com
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ yarn-error.log*

#firebase
.firebaserc
.firebase
16 changes: 16 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"hosting": {
"public": "build",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}

0 comments on commit 5c7287f

Please sign in to comment.