mirror of
https://github.com/moparisthebest/wallabag
synced 2024-11-15 21:55:09 -05:00
Add .htaccess file to force download of poche export
This commit is contained in:
parent
8623a53200
commit
4ee705a79c
8
.htaccess
Normal file
8
.htaccess
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
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
|
Loading…
Reference in New Issue
Block a user