Skip to content

Commit

Permalink
authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
MonalikaPatnaik committed Mar 17, 2024
1 parent d68ac01 commit 72b58be
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@testing-library/user-event": "^13.5.0",
"@types/react": "^18.2.7",
"@types/react-dom": "^18.2.4",
"dotenv": "^16.3.1",
"dotenv": "^16.4.5",
"firebase": "^10.1.0",
"framer-motion": "^10.12.16",
"react": "^18.2.0",
Expand Down
12 changes: 6 additions & 6 deletions frontend/src/firebase-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import { getAuth, GoogleAuthProvider} from "firebase/auth";


const firebaseConfig = {
apiKey: `${process.env.apiKey}`,
authDomain: `${process.env.authDomain}`,
projectId: `${process.env.projectId}`,
storageBucket: `${process.env.storageBucket}`,
messagingSenderId: `${process.env.messagingSenderId}`,
appId: `${process.env.appId}`,
apiKey: `${process.env.REACT_APP_apiKey}`,
authDomain: `${process.env.REACT_APP_authDomain}`,
projectId: `${process.env.REACT_APP_projectId}`,
storageBucket: `${process.env.REACT_APP_storageBucket}`,
messagingSenderId: `${process.env.REACT_APP_messagingSenderId}`,
appId: `${process.env.REACT_APP_appId}`,
};

console.log("apiKey:", process.env.REACT_APP_apiKey);
Expand Down

0 comments on commit 72b58be

Please sign in to comment.