Files
AIRegulation-DocAnalysis/backend/main.py

23 lines
456 B
Python
Raw Permalink Normal View History

2026-05-14 15:07:34 +08:00
"""Convenience launcher for the migrated backend app."""
import uvicorn
from app.config.settings import settings
# Keep module behavior explicit so the backend flow stays easy to audit.
2026-05-14 15:07:34 +08:00
def main() -> None:
"""Run the module entrypoint."""
2026-05-14 15:07:34 +08:00
uvicorn.run(
"app.main:app",
host=settings.api_host,
port=settings.api_port,
reload=settings.debug,
log_level="info",
)
if __name__ == "__main__":
main()