- forcing browser to refresh images via timestamp

This commit is contained in:
Ulrich Knechtelsdorfer
2016-11-28 00:17:35 +01:00
parent 8ae2683d71
commit a96342c815
5 changed files with 10 additions and 5 deletions

View File

@@ -15,7 +15,7 @@
<div class="fridge_sensor">
{{ sensor.name }}<br>
{% set fils = "log_%s.png" % sensor.id %}
<img src="{{ url_for('static', filename=fils) }}" /><br>
<img src="{{ url_for('static', filename=fils) }}?{{timestamp}}" /><br>
</div>
{% endfor %}
</div>