master/main.py
2026-03-20 15:06:39 +03:00

15 lines
286 B
Python

import uvicorn
from adapter.config.loader import load_config
from adapter.http.fastapi.app import create_app
config = load_config()
app = create_app(config)
def run() -> None:
uvicorn.run(app, host=config.http.host, port=config.http.port)
if __name__ == '__main__':
run()