Skip to content

Commit 7dbf474

Browse files
authored
Update main.py
1 parent c4989c3 commit 7dbf474

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎app/main.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
from fastapi.middleware.cors import CORSMiddleware
1515
from fastapi.staticfiles import StaticFiles
1616

17-
from .controller.manager import get_controller
18-
from .core.config import get_settings
19-
from .db import get_engine
17+
from .controllers.manager import get_controller
18+
from .infra.config import get_settings
19+
from .models.db import get_engine
2020
from .routes import auth, billing, conversations, secrets
2121

2222

@@ -54,7 +54,7 @@ def create_app() -> FastAPI:
5454
def healthz() -> dict:
5555
return {"ok": True, "runner": settings.runner}
5656

57-
static_dir = Path(__file__).parent / "static"
57+
static_dir = Path(__file__).parent / "views"
5858
if static_dir.is_dir():
5959
app.mount("/", StaticFiles(directory=static_dir, html=True), name="ui")
6060
return app

0 commit comments

Comments
 (0)