dotandru commited on
Commit
6fc6eb0
·
1 Parent(s): 898b10c

fix: Split-Brain resolved - DEV config now points to buddy-math-dev project

Browse files
Files changed (1) hide show
  1. config.py +4 -6
config.py CHANGED
@@ -36,12 +36,10 @@ if IS_PRODUCTION:
36
  STORAGE_BUCKET = "bussymath.firebasestorage.app"
37
  PROJECT_ID = "bussymath"
38
  else:
39
- # DEV: buddy-math-dev
40
- # The dev bucket buddy-math-dev is returning 404, so we must use the prod bucket AND prod key
41
- FIREBASE_CREDENTIALS_PATH = os.path.join(os.path.dirname(__file__), "serviceAccountKey.json")
42
-
43
- STORAGE_BUCKET = "bussymath.firebasestorage.app"
44
- PROJECT_ID = "bussymath"
45
 
46
  # Server Configuration
47
  HOST = "0.0.0.0"
 
36
  STORAGE_BUCKET = "bussymath.firebasestorage.app"
37
  PROJECT_ID = "bussymath"
38
  else:
39
+ # DEV: buddy-math-dev (uses FIREBASE_CREDENTIALS_JSON env var set in HF Secrets)
40
+ FIREBASE_CREDENTIALS_PATH = os.path.join(os.path.dirname(__file__), "serviceAccountKey-dev.json")
41
+ STORAGE_BUCKET = "buddy-math-dev.firebasestorage.app"
42
+ PROJECT_ID = "buddy-math-dev"
 
 
43
 
44
  # Server Configuration
45
  HOST = "0.0.0.0"