From ecd7860676261c75a2b6247392351ad8d07e8a02 Mon Sep 17 00:00:00 2001 From: mb Date: Wed, 2 Nov 2022 13:51:03 +0100 Subject: [PATCH] make octomode.vvvvvvaria.org/name/ work with a trailing slash --- octomode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/octomode.py b/octomode.py index e024ca6..a0358e2 100755 --- a/octomode.py +++ b/octomode.py @@ -112,7 +112,7 @@ def index(): else: return render_template('start.html', pad_url=APP.config['PAD_URL']) -@APP.route('/') +@APP.route('//') def main(name): return redirect(f"/{ name }/pad")