mirror of
https://github.com/neocities/neocities.git
synced 2025-07-21 10:06:00 +02:00
no browser cache for dashboard and text editor
This commit is contained in:
parent
b15f1aab1d
commit
4d223e356e
4 changed files with 13 additions and 0 deletions
|
@ -160,6 +160,8 @@ end
|
|||
|
||||
get %r{\/site_files\/text_editor\/(.+)} do
|
||||
require_login
|
||||
dont_browser_cache
|
||||
|
||||
@filename = params[:captures].first
|
||||
extname = File.extname @filename
|
||||
@ace_mode = case extname
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue