diff options
| author | Jocelyn Delande <jocelyn@crapouillou.net> | 2015-08-19 22:47:52 +0200 |
|---|---|---|
| committer | Jocelyn Delande <jocelyn@crapouillou.net> | 2015-08-19 22:56:45 +0200 |
| commit | 15091e28c070dc0d248b310fe1aa9638de92424a (patch) | |
| tree | 9e0bcca70cd79dbdd8722bfc6937d97cd476aa09 /budget/run.py | |
| parent | d6c514e7d176fcdf6be3e3ca6eb05ea2ea725d71 (diff) | |
| download | ihatemoney-mirror-15091e28c070dc0d248b310fe1aa9638de92424a.zip ihatemoney-mirror-15091e28c070dc0d248b310fe1aa9638de92424a.tar.gz ihatemoney-mirror-15091e28c070dc0d248b310fe1aa9638de92424a.tar.bz2 | |
Made an URL prefix configurable in settings, includes tests.
Diffstat (limited to 'budget/run.py')
| -rw-r--r-- | budget/run.py | 3 |
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: |
