Browse Source

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

pull/30/head
mb 2 years ago
parent
commit
ecd7860676
  1. 2
      octomode.py

2
octomode.py

@ -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…
Cancel
Save