forked from I2P_Developers/i2p.www
Fixed bug with 404 page for static files
This commit is contained in:
@@ -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 -%}
|
||||
|
Reference in New Issue
Block a user