cachebust style and js at build time

This commit is contained in:
2025-08-04 03:10:38 +03:00
parent f08c60de75
commit 7702384c40
6 changed files with 15 additions and 8 deletions

View File

@ -67,7 +67,7 @@
<div id="babycode-preview-container"></div>
</div>
</div>
<script src="/static/js/babycode-editor.js?v=2"></script>
<script src="{{ "/static/js/babycode-editor.js" | cachebust }}"></script>
{% endmacro %}
{% macro babycode_editor_form(ta_name, prefill = "", cancel_url="", endpoint="") %}