"""Point d'entrée attendu par Phusion Passenger sur l'hébergement web OVH (convention :
un fichier Python à la racine exposant un objet WSGI nommé `application`).

FastAPI est une application ASGI ; a2wsgi.ASGIMiddleware l'adapte en WSGI pour Passenger,
qui ne sait pas parler ASGI nativement sur ce type d'hébergement."""

from a2wsgi import ASGIMiddleware

from app.main import app

application = ASGIMiddleware(app)
