wsgi.py 216 B

1234567
  1. import os
  2. from flaskbb import create_app
  3. _basepath = os.path.dirname(os.path.abspath(__file__))
  4. # will throw an error if the config doesn't exist
  5. flaskbb = create_app(config=os.path.join(_basepath, 'flaskbb.cfg'))