Skip to content

Commit

Permalink
fix: [show Domain] unblur default image if domain is down
Browse files Browse the repository at this point in the history
  • Loading branch information
Terrtia committed Jan 22, 2025
1 parent a509e28 commit eda517e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions var/www/blueprints/crawler_splash.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,8 @@ def showDomain():
dict_domain['crawler_history_items'].append(Item(item_id).get_meta(options={'crawler'}))
if dict_domain['crawler_history_items']:
dict_domain['random_item'] = random.choice(dict_domain['crawler_history_items'])
else:
dict_domain['tags_safe'] = True

return render_template("showDomain.html",
dict_domain=dict_domain, bootstrap_label=bootstrap_label,
Expand Down

0 comments on commit eda517e

Please sign in to comment.