summaryrefslogtreecommitdiff
path: root/cli/app/server/web.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-06-02 17:38:14 +0200
committerJules Laplace <julescarbon@gmail.com>2020-06-02 17:38:14 +0200
commitf6d7fcbb50ef57f1f7d7ca8cacd711ffd576e600 (patch)
tree9d6a4882d428da7098c4244f5ca56267afe8cc1b /cli/app/server/web.py
parent5b480258322682fdc4fa987770df9e719315f167 (diff)
showing pages for graph. getting urls right
Diffstat (limited to 'cli/app/server/web.py')
-rw-r--r--cli/app/server/web.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/app/server/web.py b/cli/app/server/web.py
index 739f271..83dbc24 100644
--- a/cli/app/server/web.py
+++ b/cli/app/server/web.py
@@ -30,6 +30,7 @@ def create_app(script_info=None):
app = Flask(__name__, static_folder=app_cfg.DIR_STATIC, static_url_path='/static')
app.config['SQLALCHEMY_DATABASE_URI'] = connection_url
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
+ app.url_map.strict_slashes = False
db.init_app(app)