added paths to allow for more corona shortlinks

This commit is contained in:
Sebastian Speitel 2020-03-16 16:07:47 +01:00 committed by GitHub
parent e69c3e839b
commit c09c32f46c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

6
app.py
View File

@ -259,6 +259,12 @@ def block_pp():
@app.route('/corona/') @app.route('/corona/')
@app.route('/covid19/') @app.route('/covid19/')
@app.route('/covid-19/') @app.route('/covid-19/')
@app.route('/corona/news')
@app.route('/covid19/news')
@app.route('/covid-19/news')
@app.route('/corona/telegram')
@app.route('/covid19/telegram')
@app.route('/covid-19/telegram')
def corona(): def corona():
return redirect("https://t.me/coronatui", code=302) return redirect("https://t.me/coronatui", code=302)