From 22145e1e3440b88e000952382e3d018e788ced89 Mon Sep 17 00:00:00 2001 From: Marius Andra Date: Sun, 1 Dec 2024 22:28:01 +0100 Subject: [PATCH] sqlite path --- backend/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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