diff --git a/backend/config.py b/backend/config.py index dcc2ce94..e45792ed 100644 --- a/backend/config.py +++ b/backend/config.py @@ -5,7 +5,7 @@ class Config: SECRET_KEY = os.environ.get('SECRET_KEY') or secrets.token_hex(32) - SQLALCHEMY_DATABASE_URI = 'sqlite:///../../db/frameos.db' + SQLALCHEMY_DATABASE_URI = os.environ.get('SQLALCHEMY_DATABASE_URI') or 'sqlite:///../../db/frameos.db' class DevelopmentConfig(Config): DEBUG = True