Skip to content

Commit

Permalink
fix(api key error firebase)
Browse files Browse the repository at this point in the history
  • Loading branch information
soumyajit4419 committed Mar 13, 2022
1 parent af6d7d7 commit 8d3590c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Firebase/Firebase.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ import { getFirestore } from "firebase/firestore";
import { getAuth, GoogleAuthProvider } from "firebase/auth";

const firebaseConfig = {
apiKey: String(process.env.FIREBASE_API_KEY),
authDomain: process.env.FIREBASE_AUTH_DOMAIN,
projectId: process.env.FIREBASE_PROJECT_ID,
storageBucket: process.env.FIREBASE_STORAGE_BUCKET,
messagingSenderId: process.env.FIREBASE_SENDER_ID,
appId: process.env.FIREBASE_APP_ID,
measurementId: process.env.FIREBASE_MEASUREMENT_ID,
apiKey: process.env.NEXT_PUBLIC_FIREBASE_API_KEY,
authDomain: process.env.NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN,
projectId: process.env.NEXT_PUBLIC_FIREBASE_PROJECT_ID,
storageBucket: process.env.NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET,
messagingSenderId: process.env.NEXT_PUBLIC_FIREBASE_SENDER_ID,
appId: process.env.NEXT_PUBLIC_FIREBASE_APP_ID,
measurementId: process.env.NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID,
};
const app = initializeApp(firebaseConfig);

Expand Down

1 comment on commit 8d3590c

@vercel
Copy link

@vercel vercel bot commented on 8d3590c Mar 13, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.