Update how agon is run.

This commit is contained in:
2025-03-19 09:28:30 -04:00
parent 7a4ba3a5af
commit 058e3aefa1
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ if config.ENVIRONMENT == "prod":
url = f"mysql+pymysql://{config.SQL_USER}:{config.SQL_PASS}@{config.SQL_HOST}/{config.SQL_DB}"
agon_logger.info("Connected to prod database.")
else:
url = "sqlite:///database.db"
url = "sqlite:///database/database.db"
agon_logger.info("Connected to local dev database.")
engine = create_engine(url)