From 5133edbc52664fd455c757760816ffdfeaf48b33 Mon Sep 17 00:00:00 2001 From: kleph Date: Thu, 5 Mar 2020 14:54:39 +0100 Subject: [PATCH] Fix 404 on trailing slash --- beer/beer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beer/beer.py b/beer/beer.py index 51911b5..3398e56 100755 --- a/beer/beer.py +++ b/beer/beer.py @@ -7,7 +7,7 @@ from flask import render_template # pylint: disable=invalid-name app = Flask(__name__) - +app.url_map.strict_slashes = False @app.route('/') @app.route('/') -- 2.45.2