Skip to content

Commit

Permalink
fix: Incorrect redirect in asn
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafiot committed Jan 5, 2022
1 parent 438b8a9 commit 47fb89e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/web/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 47fb89e

Please sign in to comment.