diff --git a/app.py b/app.py index 2587ae5..655f599 100644 --- a/app.py +++ b/app.py @@ -12,9 +12,8 @@ load_dotenv() DATABASE_URL = os.getenv('DATABASE_URL') -CREDS = os.getenv('CREDS') -cred = credentials.Certificate(CREDS) +cred = credentials.Certificate("./CREDS.json") if not firebase_admin._apps: firebase_admin.initialize_app(cred, { 'databaseURL': DATABASE_URL