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 firebase from "firebase" ;
22
33// firebase config
4- // TODO: move to env
54const firebaseConfig = {
6- apiKey : "AIzaSyDeGOAUFx93nPa71uiMkUXgWeZfBXIAQY4" ,
7- authDomain : "tryshape-app.firebaseapp.com" ,
8- projectId : "tryshape-app" ,
9- storageBucket : "tryshape-app.appspot.com" ,
10- messagingSenderId : "309904349527" ,
11- appId : "1:309904349527:web:76cfdc9e028c0e7ae0c612" ,
12- measurementId : "G-R82N2SGZJL"
5+ apiKey : process . env . NEXT_PUBLIC_FIREBASE_AUTHORIZATION ,
6+ authDomain : process . env . NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN ,
7+ projectId : process . env . NEXT_PUBLIC_FIREBASE_PROJECT_ID ,
8+ storageBucket : process . env . NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET ,
9+ messagingSenderId : process . env . NEXT_PUBLIC_FIREBASE_MESSAGING_SERNDER_ID ,
10+ appId : process . env . NEXT_PUBLIC_FIREBASE_APP_ID ,
11+ measurementId : process . env . NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID
1312} ;
1413
1514if ( ! firebase . apps . length ) {
You can’t perform that action at this time.
0 commit comments