Fix uvicorn workers - use import string

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
gilesb
2026-01-09 03:41:29 +00:00
parent 32435fe291
commit 29b838fdda

View File

@@ -2701,4 +2701,4 @@ async def test_ots_connection():
if __name__ == "__main__":
import uvicorn
uvicorn.run(app, host="0.0.0.0", port=8200, workers=4)
uvicorn.run("server:app", host="0.0.0.0", port=8200, workers=4)