mirror of
https://github.com/neocities/neocities.git
synced 2025-08-02 15:51:55 +02:00
no cache headers
This commit is contained in:
parent
4ca2e3f443
commit
23b5ba2883
2 changed files with 4 additions and 0 deletions
|
@ -154,6 +154,7 @@ end
|
|||
|
||||
get %r{\/site_files\/download\/(.+)} do
|
||||
require_login
|
||||
dont_browser_cache
|
||||
not_found if params[:captures].nil? || params[:captures].length != 1
|
||||
filename = params[:captures].first
|
||||
attachment filename
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue