From 47fb89e6e14568400cff1db1dfc99128c5393dfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Wed, 5 Jan 2022 14:59:31 +0100 Subject: [PATCH] fix: Incorrect redirect in asn --- website/web/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/web/__init__.py b/website/web/__init__.py index eccb851..93858de 100644 --- a/website/web/__init__.py +++ b/website/web/__init__.py @@ -50,7 +50,7 @@ def index(): def asn_details(): load_session() if 'asn' not in session: - return redirect(url_for('/')) + return redirect(url_for('index')) asn_descriptions = bgpranking.get_asn_descriptions(asn=session['asn'], all_descriptions=True)['response'] sources = bgpranking.get_sources(date=session['date'])['response'] prefix = session.pop('prefix', None)