make octomode.vvvvvvaria.org/name/ work with a trailing slash
This commit is contained in:
parent
6ba8e1cc47
commit
ecd7860676
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ def index():
|
||||||
else:
|
else:
|
||||||
return render_template('start.html', pad_url=APP.config['PAD_URL'])
|
return render_template('start.html', pad_url=APP.config['PAD_URL'])
|
||||||
|
|
||||||
@APP.route('/<name>')
|
@APP.route('/<name>/')
|
||||||
def main(name):
|
def main(name):
|
||||||
return redirect(f"/{ name }/pad")
|
return redirect(f"/{ name }/pad")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue