aboutsummaryrefslogtreecommitdiffstats
path: root/templates/errors
diff options
context:
space:
mode:
Diffstat (limited to 'templates/errors')
-rw-r--r--templates/errors/error.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/errors/error.html b/templates/errors/error.html
index 6aeaee02..366bd49e 100644
--- a/templates/errors/error.html
+++ b/templates/errors/error.html
@@ -5,7 +5,7 @@
{% block beta_error %}{% endblock %}
{% block extra_head %}
- <link href="{{ url_for('static', filename='css/window.css') }}" rel="stylesheet" type="text/css"/>
+ <link href="{{ static_file('css/window.css') }}" rel="stylesheet" type="text/css"/>
<script>
window._RequestMethod = "{{ request.method.lower() }}";
@@ -14,8 +14,8 @@
window._Path = "{{ request.path }}";
</script>
- <script src="{{ url_for('static', filename='js/typewriter.js') }}" type="application/javascript"></script>
- <script src="{{ url_for('static', filename='js/500.js') }}" type="application/javascript"></script>
+ <script src="{{ static_file('js/typewriter.js') }}" type="application/javascript"></script>
+ <script src="{{ static_file('js/500.js') }}" type="application/javascript"></script>
{% endblock %}
{% block content %}