This commit is contained in:
2025-01-11 23:43:13 +01:00
parent 3718835c41
commit c872464d52

View File

@@ -12,7 +12,14 @@ from .views import routes
def get_app() -> FastAPI: def get_app() -> FastAPI:
app = FastAPI() app = FastAPI()
app.mount("/", StaticFiles(directory="frontend", html=True), name="frontend") app.mount(
"/",
StaticFiles(
directory="modules/web_app/frontend",
html=True
),
name="frontend"
)
auth.handle_errors(app) auth.handle_errors(app)