+++ /dev/null
-Options +FollowSymlinks
-RewriteEngine On
-RewriteRule ^dl/export_poche.json$ ?export [L]
-
-# Force download
-RewriteCond %{QUERY_STRING} =export
-RewriteRule ([^/]*)$ - [L,E=dl:$1]
-Header onsuccess set Content-disposition "attachment; filename=%{dl}e" env=dl
\ No newline at end of file
</ul>
<h2>{% trans "Export your poche datas" %}</h2>
- <p><a href="./dl/export_poche.json">{% trans "Click here" %}</a> {% trans "to export your poche datas." %}</p>
+ <p><a href="?export" target="_blank">{% trans "Click here" %}</a> {% trans "to export your poche datas." %}</p>
{% endblock %}
\ No newline at end of file