make octomode.vvvvvvaria.org/name/ work with a trailing slash
This commit is contained in:
parent
6ba8e1cc47
commit
ecd7860676
@ -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")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user