From 8ee3f92b9f24f8514c437abf5f81ebc56de111dd Mon Sep 17 00:00:00 2001 From: Flancian <0@flancia.org> Date: Mon, 23 Nov 2020 14:45:26 +0100 Subject: [PATCH] Serve the index also on /index for compatibility with old links. --- app/agora.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/agora.py b/app/agora.py index e74a95a..e449c73 100644 --- a/app/agora.py +++ b/app/agora.py @@ -21,6 +21,7 @@ from . import forms bp = Blueprint('agora', __name__) +@bp.route('/index') @bp.route('/') def index(): return render_template('index.html', version=config.AGORA_VERSION, help=url_for('agora.help'), nodes=url_for('agora.nodes'), subnodes=url_for('agora.subnodes'), users=url_for('agora.users'), journals=url_for('agora.journals'), search=url_for('agora.search'), latest=url_for('agora.latest'))