forked from MarseyWorld/MarseyWorld
sneed
parent
d8d41a61d1
commit
76cc12a7a0
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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 -->
|
||||||
|
|
||||||
|
|
|
@ -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 %}
|
||||||
|
|
|
@ -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>
|
||||||
|
|
||||||
|
|
|
@ -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 %}
|
||||||
|
|
||||||
|
|
|
@ -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 %}
|
||||||
|
|
|
@ -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>
|
||||||
|
|
||||||
|
|
|
@ -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>
|
||||||
|
|
||||||
|
|
|
@ -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 -->
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue