wsgi.py 339 B

1234567891011
  1. import os
  2. from flaskbb import create_app
  3. from flaskbb.utils.helpers import ReverseProxyPathFix
  4. _basepath = os.path.dirname(os.path.abspath(__file__))
  5. # will throw an error if the config doesn't exist
  6. flaskbb = create_app(config='flaskbb.cfg')
  7. # Uncomment to use the middleware
  8. #flaskbb.wsgi_app = ReverseProxyPathFix(flaskbb.wsgi_app)