Skip to content

Commit ccf3224

Browse files
committed
Fixes #16003: Enable cache busting on upgrade for setmode.js
1 parent 9316f48 commit ccf3224

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netbox/templates/base/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
{# Initialize color mode #}
2121
<script
2222
type="text/javascript"
23-
src="{% static 'setmode.js' %}"
23+
src="{% static 'setmode.js' %}?v={{ settings.VERSION }}"
2424
onerror="window.location='{% url 'media_failure' %}?filename=setmode.js'">
2525
</script>
2626
<script type="text/javascript">

0 commit comments

Comments
 (0)