cache busting JS files

This commit is contained in:
2025-05-28 21:55:26 +02:00
parent c8dd4ac165
commit 4f8261bda9
13 changed files with 30 additions and 22 deletions

View File

@@ -157,5 +157,9 @@
</div>
</div>
<script src="{{ url_for('static', filename='js/avatar-preview.js') }}"></script>
<script src="{{ url_for('static', filename='js/avatar-preview.js', v=config.CSS_VERSION) }}"></script>
{% endblock %}
{% block extra_js %}
<script src="{{ url_for('static', filename='js/avatar-preview.js', v=config.CSS_VERSION) }}"></script>
{% endblock %}

View File

@@ -43,7 +43,7 @@
</button>
</div>
</form>
<script src="{{ url_for('static', filename='js/contacts-filter.js') }}"></script>
<script src="{{ url_for('static', filename='js/contacts-filter.js', v=config.CSS_VERSION) }}"></script>
</div>
<!-- Contacts List -->
@@ -203,4 +203,8 @@
</div>
{% endif %}
</div>
{% endblock %}
{% block extra_js %}
<script src="{{ url_for('static', filename='js/contacts-filter.js', v=config.CSS_VERSION) }}"></script>
{% endblock %}