From 840dea97746a9ce35571a9a13a1191edca950c0b Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Thu, 3 May 2018 10:41:27 +0200 Subject: [PATCH] Port the .wsgi file to pagure 4.0 Signed-off-by: Pierre-Yves Chibon --- roles/distgit/pagure/templates/pagure.wsgi | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/roles/distgit/pagure/templates/pagure.wsgi b/roles/distgit/pagure/templates/pagure.wsgi index b072264090..4a79875c58 100644 --- a/roles/distgit/pagure/templates/pagure.wsgi +++ b/roles/distgit/pagure/templates/pagure.wsgi @@ -24,5 +24,8 @@ os.environ['TEMP'] = '/srv/tmp/' ## The most import line to make the wsgi working -from pagure import APP as application -#application.debug = True +from pagure.flask_app import create_app + +application = create_app() +application.debug = True +