actually, app must be a string!
This commit is contained in:
parent
d406f15382
commit
71ac02e5d7
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ async def on_startup() -> None:
|
|||
|
||||
def main() -> None:
|
||||
uvicorn.run(
|
||||
app=app,
|
||||
app="kiwi_vpn_api.main:app",
|
||||
host="0.0.0.0",
|
||||
port=8000,
|
||||
reload=True,
|
||||
|
|
Loading…
Reference in a new issue