diff --git a/src/config/firebase.ts b/src/config/firebase.ts index e974377..c5aab56 100644 --- a/src/config/firebase.ts +++ b/src/config/firebase.ts @@ -4,13 +4,13 @@ import { getAuth } from 'firebase/auth'; import { getAnalytics } from 'firebase/analytics'; const firebaseConfig = { - apiKey: import.meta.env.VITE_FIREBASE_API_KEY, - authDomain: import.meta.env.VITE_FIREBASE_AUTH_DOMAIN, - projectId: import.meta.env.VITE_FIREBASE_PROJECT_ID, - storageBucket: import.meta.env.VITE_FIREBASE_STORAGE_BUCKET, - messagingSenderId: import.meta.env.VITE_FIREBASE_MESSAGING_SENDER_ID, - appId: import.meta.env.VITE_FIREBASE_APP_ID, - measurementId: import.meta.env.VITE_FIREBASE_MEASUREMENT_ID, + apiKey: import.meta.env.VITE_FIREBASE_API_KEY || 'firebaseApiKey', + authDomain: import.meta.env.VITE_FIREBASE_AUTH_DOMAIN || 'firebaseAuthDomain', + projectId: import.meta.env.VITE_FIREBASE_PROJECT_ID || 'firebaseProjectId', + storageBucket: import.meta.env.VITE_FIREBASE_STORAGE_BUCKET || 'firebaseStorageBucket', + messagingSenderId: import.meta.env.VITE_FIREBASE_MESSAGING_SENDER_ID || 'firebaseMessagingSenderId', + appId: import.meta.env.VITE_FIREBASE_APP_ID || 'firebaseAppId', + measurementId: import.meta.env.VITE_FIREBASE_MEASUREMENT_ID || 'firebaseMeasurementId', }; const app = initializeApp(firebaseConfig);