diff --git a/frontend/package.json b/frontend/package.json index 8f99e89..5c2bfec 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -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", diff --git a/frontend/src/firebase-config.js b/frontend/src/firebase-config.js index 5dacef2..a855485 100644 --- a/frontend/src/firebase-config.js +++ b/frontend/src/firebase-config.js @@ -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);