This commit is contained in:
mirai
2026-01-03 12:00:52 +03:00
parent 8b58bf4db3
commit 264d19e932
6 changed files with 5 additions and 31 deletions
-2
View File
@@ -1,5 +1,4 @@
from typing import Optional
from .logger import logger
from .factory import create_app
@@ -10,7 +9,6 @@ def run_server(
workers: int = 1,
) -> None:
app = create_app(password=password or "")
logger.info(f"Starting server on {host}:{port}")
app.run(
host=host,