File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { initializeApp } from 'firebase/app'
22import { getAuth , GithubAuthProvider , GoogleAuthProvider } from 'firebase/auth'
33
4- // TODO This is a temporary firebase project config, to be changed later.
54const firebaseConfig = {
6- apiKey : 'AIzaSyCpD2SbQnCCDjmAPasQ8q5jPcxf5lQLwYI ',
7- authDomain : 'hackertab-418813.firebaseapp.com ',
8- projectId : 'hackertab-418813 ',
9- storageBucket : 'hackertab-418813.firebasestorage.app ',
10- messagingSenderId : '249160525821 ',
11- appId : '1:249160525821:web:e729de3eadc14d2242db94 ',
12- measurementId : 'G-NTMXFLMF00 ',
5+ apiKey : import . meta . env . VITE_FIREBASE_API_KEY || ' ',
6+ authDomain : import . meta . env . VITE_FIREBASE_AUTH_DOMAIN || ' ',
7+ projectId : import . meta . env . VITE_FIREBASE_PROJECT_ID || ' ',
8+ storageBucket : import . meta . env . VITE_FIREBASE_STORAGE_BUCKET || ' ',
9+ messagingSenderId : import . meta . env . VITE_FIREBASE_MESSAGING_SENDER_ID || ' ',
10+ appId : import . meta . env . VITE_FIREBASE_APP_ID || ' ',
11+ measurementId : import . meta . env . VITE_FIREBASE_MEASUREMENT_ID || ' ',
1312}
1413
1514// Initialize Firebase
You can’t perform that action at this time.
0 commit comments