diff --git a/pyproject.toml b/pyproject.toml index a46d465..629ccf8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "api" -version = "0.2.0" +version = "0.3.0" description = "User-facing API of DECODE OpenCloud." authors = ["Arthur Jaques "] readme = "README.md" diff --git a/scripts/serve.py b/scripts/serve.py index b9f3445..5eb7bb1 100644 --- a/scripts/serve.py +++ b/scripts/serve.py @@ -34,7 +34,7 @@ def main() -> None: uvicorn.run(app, host=host, port=port, reload=True) else: StandaloneApplication( - app="app:app", + app=app, options={ "bind": f"{host}:{port}", "workers": (multiprocessing.cpu_count() * 2) + 1,