From c09c32f46c6662262d01d21352d5eb061ea9936d Mon Sep 17 00:00:00 2001 From: Sebastian Speitel Date: Mon, 16 Mar 2020 16:07:47 +0100 Subject: [PATCH] added paths to allow for more corona shortlinks --- app.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app.py b/app.py index a735577..6acfa01 100644 --- a/app.py +++ b/app.py @@ -259,6 +259,12 @@ def block_pp(): @app.route('/corona/') @app.route('/covid19/') @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(): return redirect("https://t.me/coronatui", code=302)