from a2wsgi import ASGIMiddleware

from app import app as fastapi_app


# cPanel Passenger expects a WSGI callable named "application".
# ASGIMiddleware lets Passenger run the FastAPI ASGI app.
application = ASGIMiddleware(fastapi_app)
