specify Firebase GCP project id (#1042)
Modifies the Firebase app initialization to explicitly specify the GCP project ID where the Firebase app is. Previously it would use the project associated with the service account being used.
This commit is contained in:
parent
e1b798d586
commit
d1a43bdf1b
1 changed files with 1 additions and 1 deletions
|
|
@ -553,7 +553,7 @@ if FEATURE_MOBILE_APP_INTEGRATION_ENABLED:
|
|||
("apps.mobile_app.backend.MobileAppCriticalBackend", 6),
|
||||
]
|
||||
|
||||
FIREBASE_APP = initialize_app()
|
||||
FIREBASE_APP = initialize_app(options={"projectId": os.environ.get("FCM_PROJECT_ID", None)})
|
||||
|
||||
FCM_RELAY_ENABLED = getenv_boolean("FCM_RELAY_ENABLED", default=False)
|
||||
FCM_DJANGO_SETTINGS = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue