actually, app must be a string!

This commit is contained in:
Jörn-Michael Miehe 2022-03-28 02:33:56 +00:00
parent d406f15382
commit 71ac02e5d7

View file

@ -54,7 +54,7 @@ async def on_startup() -> None:
def main() -> None: def main() -> None:
uvicorn.run( uvicorn.run(
app=app, app="kiwi_vpn_api.main:app",
host="0.0.0.0", host="0.0.0.0",
port=8000, port=8000,
reload=True, reload=True,