From 71ac02e5d770ebebefbd0e79e260dcb66432ec70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= <40151420+ldericher@users.noreply.github.com> Date: Mon, 28 Mar 2022 02:33:56 +0000 Subject: [PATCH] actually, app must be a string! --- api/kiwi_vpn_api/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/kiwi_vpn_api/main.py b/api/kiwi_vpn_api/main.py index 9da2440..3cca498 100755 --- a/api/kiwi_vpn_api/main.py +++ b/api/kiwi_vpn_api/main.py @@ -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,