make octomode.vvvvvvaria.org/name/ work with a trailing slash

This commit is contained in:
mb 2022-11-02 13:51:03 +01:00
parent 6ba8e1cc47
commit ecd7860676

View File

@ -112,7 +112,7 @@ def index():
else:
return render_template('start.html', pad_url=APP.config['PAD_URL'])
@APP.route('/<name>')
@APP.route('/<name>/')
def main(name):
return redirect(f"/{ name }/pad")