mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-24 00:20:28 +00:00
change export link
This commit is contained in:
parent
47baa1077e
commit
27a74816da
2 changed files with 1 additions and 9 deletions
|
@ -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 a new issue