Port the .wsgi file to pagure 4.0
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
3b1e225f73
commit
4c96fae6b1
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue