we got to clean up js debugging, its busting caching.

This commit is contained in:
Sam 2015-11-22 01:20:39 +11:00
parent c7243bd6a2
commit c70bb0c032

View File

@ -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