This repository has been archived on 2020-09-13. You can view files and clone it, but cannot push or open issues or pull requests.
magic-app/scripts/wsgi.py
c v t efc3c98ba4
All checks were successful
continuous-integration/drone/push Build is passing
Templates using Picnic
2020-07-05 17:33:29 +02:00

10 lines
208 B
Python

"""Bootstrap the application for web serving."""
import os
from magic_app.app import create_app
from magic_app.config import CONFIG
config = CONFIG[os.environ["FLASK_ENV"]]
app = create_app(config=config)