Fix browser caching problem on change cover

This commit is contained in:
Ozzieisaacs
2020-11-22 09:09:41 +01:00
parent a3fadbaa1a
commit b9536812f4
2 changed files with 11 additions and 8 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
{% if book %}
<div class="col-sm-3 col-lg-3 col-xs-12">
<div class="cover">
<img src="{{ url_for('web.get_cover', book_id=book.id) }}" alt="{{ book.title }}"/>
<img src="{{ url_for('web.get_cover', book_id=book.id, edit=cover_edit) }}" alt="{{ book.title }}"/>
</div>
{% if g.user.role_delete_books() %}
<div class="text-center">