hjawwad456 commited on
Commit
822bd8c
·
1 Parent(s): da561f9

add keys to env

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -874,20 +874,20 @@ def create_chat_interface():
874
  // Your web app's Firebase configuration
875
  // For Firebase JS SDK v7.20.0 and later, measurementId is optional
876
  const firebaseConfig = {{
877
- "apiKey": "AIzaSyDzhYytalbHOMaLJa8KXy6nvyTdp2PaY4Y",
878
- "authDomain": "gfh-agora-video.firebaseapp.com",
879
- "databaseURL": "https://gfh-agora-video.firebaseio.com",
880
- "projectId": "gfh-agora-video",
881
- "storageBucket": "gfh-agora-video.appspot.com",
882
- "messagingSenderId": "229903401215",
883
- "appId": "1:229903401215:web:f007bdf575a25063d04cca",
884
- "measurementId": "G-ZT6PG5M8EV"
885
- }};
886
 
887
  // Initialize Firebase
888
  const app = initializeApp(firebaseConfig);
889
  const realtimeDB = getDatabase(app);
890
- const rollAccount = "roll-prod-account";
891
  const COLLECTIONS = {{
892
  COLLAB_EDIT_LINK: "collab_link_handler",
893
  }};
 
874
  // Your web app's Firebase configuration
875
  // For Firebase JS SDK v7.20.0 and later, measurementId is optional
876
  const firebaseConfig = {{
877
+ apiKey: "{os.getenv('FIREBASE_API_KEY')}",
878
+ authDomain: "{os.getenv('FIREBASE_AUTH_DOMAIN')}",
879
+ databaseURL: "{os.getenv('FIREBASE_DATABASE_URL')}",
880
+ projectId: "{os.getenv('FIREBASE_PROJECT_ID')}",
881
+ storageBucket: "{os.getenv('FIREBASE_STORAGE_BUCKET')}",
882
+ messagingSenderId: "{os.getenv('FIREBASE_MESSAGING_SENDER_ID')}",
883
+ appId: "{os.getenv('FIREBASE_APP_ID')}",
884
+ measurementId: "{os.getenv('FIREBASE_MEASUREMENT_ID')}"
885
+ }};
886
 
887
  // Initialize Firebase
888
  const app = initializeApp(firebaseConfig);
889
  const realtimeDB = getDatabase(app);
890
+ const rollAccount = "{os.getenv('ROLL_ACCOUNT')}";
891
  const COLLECTIONS = {{
892
  COLLAB_EDIT_LINK: "collab_link_handler",
893
  }};