remotes/1693045480750635534/spooky-22
Aevann1 2021-08-31 16:55:34 +02:00
parent d8d41a61d1
commit 76cc12a7a0
9 changed files with 9 additions and 9 deletions

View File

@ -155,7 +155,7 @@ def static_service(path):
resp = make_response(send_from_directory('./assets', path)) resp = make_response(send_from_directory('./assets', path))
if request.path.endswith('.gif') or request.path.endswith('.ttf') or request.path.endswith('.woff') or request.path.endswith('.woff2'): if request.path.endswith('.gif') or request.path.endswith('.ttf') or request.path.endswith('.woff') or request.path.endswith('.woff2'):
resp.headers.remove("Cache-Control") resp.headers.remove("Cache-Control")
resp.headers.add("Cache-Control", "public, max-age=31556952") resp.headers.add("Cache-Control", "public, max-age=2628000")
return resp return resp

View File

@ -1129,7 +1129,7 @@
{% include "expanded_image_modal.html" %} {% include "expanded_image_modal.html" %}
<script src="/assets/js/generaljs.js"></script> <script src="/assets/js/ilovemarsey.js"></script>
<!-- ClipboardJS --> <!-- ClipboardJS -->

View File

@ -145,6 +145,6 @@ We also have some custom hooks for mentioning users and subreddits. Note that th
{% include "expanded_image_modal.html" %} {% include "expanded_image_modal.html" %}
{% include "expanded_video_modal.html" %} {% include "expanded_video_modal.html" %}
<script src="/assets/js/generaljs.js"></script> <script src="/assets/js/ilovemarsey.js"></script>
{% endblock %} {% endblock %}

View File

@ -130,7 +130,7 @@
{% include "bootstrap.html" %} {% include "bootstrap.html" %}
<script src="/assets/js/generaljs.js"></script> <script src="/assets/js/ilovemarsey.js"></script>
</body> </body>

View File

@ -254,7 +254,7 @@
</div> </div>
</div> </div>
<script src="/assets/js/generaljs.js"></script> <script src="/assets/js/ilovemarsey.js"></script>
{% block onload %}{% endblock %} {% block onload %}{% endblock %}

View File

@ -226,7 +226,7 @@
}); });
</script> </script>
<script src="/assets/js/generaljs.js"></script> <script src="/assets/js/ilovemarsey.js"></script>
{% block scripts %} {% block scripts %}
{% endblock %} {% endblock %}

View File

@ -225,7 +225,7 @@
<!-- {{'SITE_NAME' | app_config}} JS --> <!-- {{'SITE_NAME' | app_config}} JS -->
<script src="/assets/js/generaljs.js"></script> <script src="/assets/js/ilovemarsey.js"></script>
</body> </body>

View File

@ -144,7 +144,7 @@
<!-- {{'SITE_NAME' | app_config}} JS --> <!-- {{'SITE_NAME' | app_config}} JS -->
<script src="/assets/js/generaljs.js"></script> <script src="/assets/js/ilovemarsey.js"></script>
</body> </body>

View File

@ -409,7 +409,7 @@
<!-- {{'SITE_NAME' | app_config}} JS --> <!-- {{'SITE_NAME' | app_config}} JS -->
<script src="/assets/js/generaljs.js"></script> <script src="/assets/js/ilovemarsey.js"></script>
<!-- ClipboardJS --> <!-- ClipboardJS -->