uwsgi.py 410 B

1234567891011121314151617
  1. import os
  2. from botadero import create_app
  3. #from flaskbb.utils.helpers import ReverseProxyPathFix
  4. import logging
  5. _basepath = os.path.dirname(os.path.abspath(__file__))
  6. # will throw an error if the config doesn't exist
  7. #flaskbb = create_app(config='flaskbb.cfg')
  8. # Uncomment to use the middleware
  9. #flaskbb.wsgi_app = ReverseProxyPathFix(flaskbb.wsgi_app)
  10. app = Flask(config='botadero/configs/configs.py')