Skip to content

Commit

Permalink
change config for deploy on vercel
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonchao committed Mar 23, 2024
1 parent 2ffe0b7 commit ff83a17
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion utils/firebaseAuth.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { initializeApp } from "firebase/app";
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
const firebaseConfig = {
apiKey: "AIzaSyBUh34fVGomF1fmLtmwZyW_FIi9jRVZYFM",
authDomain: "nextani.net",
authDomain: "nextani-415707.firebaseapp.com",
projectId: "nextani-415707",
storageBucket: "nextani-415707.appspot.com",
messagingSenderId: "774743828666",
Expand Down
8 changes: 8 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"rewrites": [
{
"source": "/__/auth/:path*",
"destination": "https://nextani-415707.firebaseapp.com/__/auth/:path*"
}
]
}

0 comments on commit ff83a17

Please sign in to comment.