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:
|
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,
|
||||||
|
|
Loading…
Reference in a new issue