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

@@ -285,10 +285,10 @@
// Test if modules are working
console.log('Module system is working');
</script>
<script type="module" src="{{ url_for('static', filename='js/rooms/room.js') }}"></script>
<script type="module" src="{{ url_for('static', filename='js/rooms/fileManager.js') }}"></script>
<script type="module" src="{{ url_for('static', filename='js/rooms/viewManager.js') }}"></script>
<script type="module" src="{{ url_for('static', filename='js/rooms/uploadManager.js') }}"></script>
<script type="module" src="{{ url_for('static', filename='js/rooms/searchManager.js') }}"></script>
<script type="module" src="{{ url_for('static', filename='js/rooms/modalManager.js') }}"></script>
<script type="module" src="{{ url_for('static', filename='js/rooms/room.js', v=config.CSS_VERSION) }}"></script>
<script type="module" src="{{ url_for('static', filename='js/rooms/fileManager.js', v=config.CSS_VERSION) }}"></script>
<script type="module" src="{{ url_for('static', filename='js/rooms/viewManager.js', v=config.CSS_VERSION) }}"></script>
<script type="module" src="{{ url_for('static', filename='js/rooms/uploadManager.js', v=config.CSS_VERSION) }}"></script>
<script type="module" src="{{ url_for('static', filename='js/rooms/searchManager.js', v=config.CSS_VERSION) }}"></script>
<script type="module" src="{{ url_for('static', filename='js/rooms/modalManager.js', v=config.CSS_VERSION) }}"></script>
{% endblock %}

View File

@@ -130,5 +130,5 @@
{% block extra_js %}
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js"></script>
<script src="{{ url_for('static', filename='js/room-members.js') }}"></script>
<script src="{{ url_for('static', filename='js/room-members.js', v=config.CSS_VERSION) }}"></script>
{% endblock %}

View File

@@ -133,6 +133,6 @@
</div>
{% block extra_js %}
<script src="{{ url_for('static', filename='js/rooms-list.js') }}"></script>
<script src="{{ url_for('static', filename='js/rooms-list.js', v=config.CSS_VERSION) }}"></script>
{% endblock %}
{% endblock %}