mirror of
https://github.com/FranP-code/Pomodoro-Timer-with-Clockify-integration.git
synced 2025-10-12 23:52:30 +00:00
Changed and protected the new API Key for Firebase
This commit is contained in:
20
src/components/Firebase/firebase.js
Normal file
20
src/components/Firebase/firebase.js
Normal file
@@ -0,0 +1,20 @@
|
||||
import {
|
||||
initializeApp
|
||||
} from "firebase/app";
|
||||
import 'firebase/firestore'
|
||||
import 'firebase/auth'
|
||||
|
||||
const config = {
|
||||
apiKey: process.env.REACT_APP_FIREBASE_API_KEY,
|
||||
authDomain: "pomodoro-timer-clockify.firebaseapp.com",
|
||||
projectId: "pomodoro-timer-clockify",
|
||||
storageBucket: "pomodoro-timer-clockify.appspot.com",
|
||||
messagingSenderId: "98342232404",
|
||||
appId: process.env.REACT_APP_FIREBASE_APP_ID
|
||||
}
|
||||
|
||||
const firebase = initializeApp(config);
|
||||
|
||||
export {
|
||||
firebase
|
||||
}
|
||||
Reference in New Issue
Block a user