fix: Incorrect redirect in asn
parent
438b8a9b52
commit
47fb89e6e1
|
@ -50,7 +50,7 @@ def index():
|
||||||
def asn_details():
|
def asn_details():
|
||||||
load_session()
|
load_session()
|
||||||
if 'asn' not in 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']
|
asn_descriptions = bgpranking.get_asn_descriptions(asn=session['asn'], all_descriptions=True)['response']
|
||||||
sources = bgpranking.get_sources(date=session['date'])['response']
|
sources = bgpranking.get_sources(date=session['date'])['response']
|
||||||
prefix = session.pop('prefix', None)
|
prefix = session.pop('prefix', None)
|
||||||
|
|
Loading…
Reference in New Issue