mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 03:32:45 +08:00
we got to clean up js debugging, its busting caching.
This commit is contained in:
parent
c7243bd6a2
commit
c70bb0c032
|
@ -142,6 +142,7 @@ class StaticController < ApplicationController
|
|||
# we must disable acceleration otherwise NGINX strips
|
||||
# access control headers
|
||||
request.env['sendfile.type'] = ''
|
||||
# TODO send_file chunks which kills caching, need to render text here
|
||||
send_file(path, opts)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user