PYTHON wsgi.py
"""WSGI entry point for Gunicorn.
Usage:
gunicorn -c gunicorn.conf.py wsgi:app
"""
import os
from dotenv import load_dotenv
# Load .env file if it exists (mirrors run.py behavior)
load_dotenv(os.path.join(os.path.dirname(__file__), '.env'))
from app import create_app
app = create_app()