fix: run as python -m app.main to fix ModuleNotFoundError

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-13 16:27:29 +02:00
parent b2e7a2f2db
commit 2db95cc727
2 changed files with 2 additions and 2 deletions

View File

@@ -199,4 +199,4 @@ app.mount("/", StaticFiles(directory=str(static_dir), html=True), name="static")
if __name__ == "__main__":
import uvicorn
uvicorn.run(app, host="0.0.0.0", port=6677, log_level="info")
uvicorn.run("app.main:app", host="0.0.0.0", port=6677, log_level="info")