"""
Passenger entry point for cPanel Python App.
Place this file in the application root on the server.
"""
import sys
import os

# Make sure the app directory is on the path
sys.path.insert(0, os.path.dirname(__file__))

from a2wsgi import ASGIMiddleware
from server_prod import app as fastapi_app

application = ASGIMiddleware(fastapi_app)
