serve file from the download form

This commit is contained in:
neingeist 2018-11-10 21:19:38 +01:00
parent e340e967a6
commit 64772b13ba
3 changed files with 10 additions and 12 deletions

View file

@ -1,5 +1,13 @@
{% extends "base.html" %}
{% block head %}
{{ super() }}
{% if filename is defined %}
<meta http-equiv="refresh" content="0;URL='download_file/{{ filename }}'" />
{% endif %}
{% endblock %}
{% block app_content %}
<h1>Download</h1>
<form action="" method="post" novalidate>