From c07577cc0a7eea23a946d671c9058095fa23cb74 Mon Sep 17 00:00:00 2001 From: Interitio Date: Tue, 10 Jun 2025 22:27:10 +1000 Subject: [PATCH] Support setting port in config. --- src/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api.py b/src/api.py index 774f1f9..6dd1fe2 100644 --- a/src/api.py +++ b/src/api.py @@ -102,7 +102,7 @@ async def app_factory(): async def run_app(): app = await app_factory() - web.run_app(app) + web.run_app(app, port=int(conf.API['PORT'])) if __name__ == '__main__':