Skip to content

Commit

Permalink
fix: [domains explorer] fix empty screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
Terrtia committed Jun 2, 2023
1 parent e7eceab commit 6ed76b2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion var/www/templates/domains/domains_result_list.html
Expand Up @@ -175,9 +175,12 @@
{% if dict_domain['is_tags_safe'] %}
{% if 'screenshot' in dict_domain %}
var screenshot_url = "{{ url_for('objects_item.screenshot', filename="") }}{{dict_domain['screenshot']}}";
init_canevas_blurr_img("canvas_{{loop.index0}}", screenshot_url);
{% else %}
var screenshot_url = "{{ url_for('static', filename='image/AIL.png') }}";
{% endif %}
init_canevas_blurr_img("canvas_{{loop.index0}}", screenshot_url);
{% endif %}

{% endfor %}

</script>
Expand Down

0 comments on commit 6ed76b2

Please sign in to comment.