DKB_ARMKA/api/run_server.py
PotapovaA 7decc3378e test
2026-09-15 17:49:12 +03:00

13 lines
267 B
Python

import uvicorn
from src.app import app
from src.core.config import get_settings
if __name__ == "__main__":
settings = get_settings()
uvicorn.run(
app,
host=settings.server.HOST,
port=settings.server.PORT,
lifespan="on",
)