diff --git a/src/modules/database/db.js b/src/modules/database/db.js index 9aa86f0..f3bf61e 100644 --- a/src/modules/database/db.js +++ b/src/modules/database/db.js @@ -3,9 +3,9 @@ import 'firebase/firestore'; export class DatabaseService { constructor() { - // keys to interact with firebase - // not a secret: https://stackoverflow.com/questions/37482366/is-it-safe-to-expose-firebase-apikey-to-the-public/37484053#37484053 - // but better moved to an environment variable + // necessary keys to interact with firebase + // not a secret + // https://stackoverflow.com/questions/37482366/is-it-safe-to-expose-firebase-apikey-to-the-public/37484053#37484053 const config = { apiKey: "AIzaSyAbDzNHCSFh59e3r5sZA4_2ZHJnJ6SCCxM", authDomain: "moment-188701.firebaseapp.com", @@ -17,6 +17,5 @@ export class DatabaseService { }; firebase.initializeApp(config); this.store = firebase.firestore(); - console.log('>>>', process.env.APP_ENVIRONMENT); } } \ No newline at end of file