mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 02:44:39 +08:00
we got to clean up js debugging, its busting caching.
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user