forked from rDrama/rDrama
1
0
Fork 0

Js cachebreaking setup

master
booosy 2022-08-24 01:13:15 -07:00 committed by TLSM
parent 50c39755fd
commit f5e61f2d86
2 changed files with 3 additions and 2 deletions

View File

@ -83,7 +83,7 @@
</div> </div>
</div> </div>
<br> <br>
<script src="/assets/js/search.js"></script> <script src="{{asset('js/search.js')}}"></script>
{% endif %} {% endif %}
<div class="text-muted text-small mb-1">Showing {% block listinglength %}{{listing | length}}{% endblock %} of {{total}} result{{'s' if total != 1 else ''}} for</div> <div class="text-muted text-small mb-1">Showing {% block listinglength %}{{listing | length}}{% endblock %} of {{total}} result{{'s' if total != 1 else ''}} for</div>
<h1 class="h4 mb-0">{{query}}</h1> <h1 class="h4 mb-0">{{query}}</h1>

View File

@ -1,6 +1,6 @@
{%- {%-
set CACHE_VER = { set CACHE_VER = {
'css/main.css': 480, 'css/main.css': 481,
'css/catalog.css': 2, 'css/catalog.css': 2,
'css/4chan.css': 61, 'css/4chan.css': 61,
@ -25,6 +25,7 @@ set CACHE_VER = {
'js/formatting.js': 240, 'js/formatting.js': 240,
'js/lottery.js': 256, 'js/lottery.js': 256,
'js/marked.js': 283, 'js/marked.js': 283,
'js/search.js': 200,
'js/submit.js': 270, 'js/submit.js': 270,
'js/userpage.js': 244, 'js/userpage.js': 244,
'js/userpage_v.js': 245, 'js/userpage_v.js': 245,