From 4aeb3cd3dcfed1d55fce155b0fc8e9cf2359f9a7 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Fri, 20 Aug 2021 22:41:23 +0200 Subject: [PATCH] WebHost: allow /tutorial and /tutorial/ --- WebHostLib/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WebHostLib/__init__.py b/WebHostLib/__init__.py index 7869d3f7..23494113 100644 --- a/WebHostLib/__init__.py +++ b/WebHostLib/__init__.py @@ -138,7 +138,7 @@ def tutorial(game, file, lang): return render_template("tutorial.html", game=game, file=file, lang=lang) -@app.route('/tutorial') +@app.route('/tutorial/') def tutorial_landing(): return render_template("tutorialLanding.html")