fix for sanic 22.6
This commit is contained in:
parent
00f018c61c
commit
373fab6e90
|
@ -26,7 +26,11 @@ from sqlalchemy.util import asyncio
|
|||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
app = Sanic("OpenBikeSensor Portal API", load_env="OBS_", log_config={})
|
||||
app = Sanic(
|
||||
"openbikesensor-api",
|
||||
env_prefix="OBS_",
|
||||
log_config={},
|
||||
)
|
||||
|
||||
if isfile("./config.py"):
|
||||
app.update_config("./config.py")
|
||||
|
|
Loading…
Reference in a new issue