The cleanded files are now downloaded instead of rendeder by the browser

This commit is contained in:
jvoisin 2019-03-09 10:13:30 +01:00
parent 457d171cd4
commit dac2fa7fbb

View File

@ -14,7 +14,7 @@ mat2 <b>could not</b> remove all the metadata from <pre>{{ filename }}</pre>, th
</ul> </ul>
{%endif %} {%endif %}
</p> </p>
<a class="button button-primary" href='{{ url_for('download_file', key=key, filename=filename) }}'>⇩ Download cleaned file</a> <a class="button button-primary" download href='{{ url_for('download_file', key=key, filename=filename) }}'>⇩ Download cleaned file</a>
<hr/> <hr/>