Fixed bug with 404 page for static files

This commit is contained in:
str4d
2014-01-09 16:02:08 +00:00
parent cba857dd81
commit 679b6c9d86

View File

@@ -9,6 +9,7 @@
{%- elif request.endpoint == 'downloads_debian' -%}{{ url_for('downloads_debian', lang=lang) }}
{%- elif request.endpoint == 'downloads_select' -%}{{ url_for('downloads_select', lang=lang, version=version, file=file) }}
{%- elif request.endpoint == 'downloads_redirect' -%}{{ url_for('site_show', lang=lang) }}
{%- elif request.endpoint == 'static' -%}{{ url_for('static', filename=filename) }}
{%- elif request.endpoint -%}{{ url_for(request.endpoint, lang=lang) }}
{%- else -%}{{ url_for('site_show', lang=lang) }}
{%- endif -%}