mirror of
https://github.com/moparisthebest/wallabag
synced 2024-11-27 11:22:17 -05:00
change export link
This commit is contained in:
parent
47baa1077e
commit
27a74816da
@ -1,8 +0,0 @@
|
||||
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
|
@ -76,5 +76,5 @@
|
||||
</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 %}
|
Loading…
Reference in New Issue
Block a user