Skip to content

Commit 4637eb6

Browse files
authored
Update firebase.js
add config to env in backend
1 parent e6a58a3 commit 4637eb6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

backend/firebase.js

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import firebase from "@firebase/app";
22
import "@firebase/auth";
3+
import dotenv from "dotenv";
4+
dotenv.config();
35

46
const app = firebase.default.initializeApp({
57
apiKey: process.env.REACT_APP_FIREBASE_API_KEY,

0 commit comments

Comments
 (0)