wsgi.py 263 B

123456789
  1. import sys
  2. import os
  3. import logging
  4. current_dir = os.path.dirname(os.path.abspath(__file__))
  5. pathtoapp = os.path.join(current_dir, 'Checklist') # Adjust this if your app is in a different folder
  6. sys.path.insert(0, pathtoapp)
  7. from app import app as application