mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
fix
This commit is contained in:
parent
1fce466253
commit
633607a5c2
1 changed files with 3 additions and 1 deletions
|
|
@ -31,7 +31,9 @@ else:
|
||||||
DB = connect(DATABASE_URL)
|
DB = connect(DATABASE_URL)
|
||||||
log.info(f"Connected to a {DB.__class__.__name__} database.")
|
log.info(f"Connected to a {DB.__class__.__name__} database.")
|
||||||
router = Router(
|
router = Router(
|
||||||
DB, migrate_dir=BACKEND_DIR / "apps" / "web" / "internal" / "migrations", logger=log
|
DB,
|
||||||
|
migrate_dir=BACKEND_DIR / "apps" / "webui" / "internal" / "migrations",
|
||||||
|
logger=log,
|
||||||
)
|
)
|
||||||
router.run()
|
router.run()
|
||||||
DB.connect(reuse_if_open=True)
|
DB.connect(reuse_if_open=True)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue