Updated the Firebase Storage Bucket to be from ENV Variables

This commit is contained in:
Tiago Ribeiro
2024-03-21 10:50:48 +00:00
parent bed07ca819
commit f02d113f40
4 changed files with 4 additions and 2 deletions

2
app.py
View File

@@ -30,6 +30,8 @@ jwt = JWTManager(app)
# Initialize Firebase Admin SDK
cred = credentials.Certificate(os.getenv("GOOGLE_APPLICATION_CREDENTIALS"))
FIREBASE_BUCKET = os.getenv('FIREBASE_BUCKET')
firebase_admin.initialize_app(cred)
thread_event = threading.Event()