aboutsummaryrefslogtreecommitdiff
path: root/budget/run.py
diff options
context:
space:
mode:
Diffstat (limited to 'budget/run.py')
-rw-r--r--budget/run.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/budget/run.py b/budget/run.py
index 2e18599..bdb8f46 100644
--- a/budget/run.py
+++ b/budget/run.py
@@ -6,7 +6,7 @@ from raven.contrib.flask import Sentry
from web import main, db, mail
from api import api
-
+from utils import PrefixedWSGI
app = Flask(__name__)
@@ -15,6 +15,7 @@ def configure():
""" A way to (re)configure the app, specially reset the settings
"""
app.config.from_object("default_settings")
+ app.wsgi_app = PrefixedWSGI(app)
# Deprecations
if 'DEFAULT_MAIL_SENDER' in app.config: