Skip to content

Commit

Permalink
secured by adding env
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishu813 committed Dec 28, 2024
1 parent 5e27ce4 commit 05ff94d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/firebase.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ import { getFirestore } from 'firebase/firestore';
// Your web app's Firebase configuration
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
const firebaseConfig = {
apiKey: 'AIzaSyCnIjiL0v1fqtP9ywKcN2TmxFQ5D2yOHn4',
authDomain: 'amc-blogs-content.firebaseapp.com',
databaseURL: 'https://amc-blogs-content-default-rtdb.firebaseio.com',
projectId: 'amc-blogs-content',
storageBucket: 'amc-blogs-content.firebasestorage.app',
messagingSenderId: '587658818641',
appId: '1:587658818641:web:45fe937af687635a64f470',
measurementId: 'G-N93GCQNH8K',
apiKey: process.env.FIREBASE_API_KEY,
authDomain: process.env.FIREBASE_AUTH_DOMAIN,
databaseURL: process.env.FIREBASE_DATABASE_URL,
projectId: process.env.FIREBASE_PROJECT_ID,
storageBucket: process.env.FIREBASE_STORAGE_BUCKET,
messagingSenderId: process.env.FIREBASE_MESSAGING_SENDER_ID,
appId: process.env.FIREBASE_APP_ID,
measurementId: process.env.FIREBASE_MEASUREMENT_ID,
};

// Initialize Firebase
Expand Down

0 comments on commit 05ff94d

Please sign in to comment.