Skip to content

Commit d400541

Browse files
committed
Fix static url version appending
1 parent c01cefd commit d400541

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jet/templates/admin/base.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@
2424
var DATETIME_FORMAT = "{% jet_get_datetime_format %}";
2525
</script>
2626
<script type="text/javascript" src="{% url 'jet:jsi18n' %}"></script>
27-
<script src="{% static "jet/js/build/bundle.min.js" %}"></script>
27+
<script src="{% static "jet/js/build/bundle.min.js" as url %}{{ url|jet_append_version }}"></script>
2828

2929
{% jet_static_translation_urls as translation_urls %}
3030
{% for url in translation_urls %}
31-
<script src="{% static url %}"></script>
31+
<script src="{% static url as url %}{{ url|jet_append_version }}"></script>
3232
{% endfor %}
3333

3434
{% block extrahead %}{% endblock %}

0 commit comments

Comments
 (0)