Port the .wsgi file to pagure 4.0

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2018-05-03 10:40:03 +02:00
parent 3b1e225f73
commit 4c96fae6b1

View file

@ -23,6 +23,8 @@ os.environ['TEMP'] = '/srv/tmp/'
#sys.path.insert(0, '/path/to/pagure/')
## The most import line to make the wsgi working
from pagure import APP as application
#application.debug = True
# The most import line to make the wsgi working
from pagure.flask_app import create_app
application = create_app()
application.debug = True