()
| 51 | |
| 52 | |
| 53 | def main() -> None: |
| 54 | settings = get_settings() |
| 55 | host = os.environ.get("OPENTALKING_API_HOST", settings.api_host) |
| 56 | port = int(os.environ.get("OPENTALKING_API_PORT", str(settings.api_port))) |
| 57 | uvicorn.run( |
| 58 | "apps.api.main:create_app", |
| 59 | host=host, |
| 60 | port=port, |
| 61 | factory=True, |
| 62 | ) |
| 63 | |
| 64 | |
| 65 | if __name__ == "__main__": |
no test coverage detected