"""
passenger_wsgi.py — cPanel Passenger entry point for the SEALABS X-Trade API.
"""
import os
import sys

HERE = os.path.dirname(os.path.abspath(__file__))
if HERE not in sys.path:
    sys.path.insert(0, HERE)

os.chdir(HERE)
os.environ.setdefault("FLASK_ENV", "production")

from multiuser.api import create_app

application = create_app()