lib/geminabox/hostess.rb in geminabox-1.5.0 vs lib/geminabox/hostess.rb in geminabox-2.0.0.rc.1
- old
+ new
@@ -4,9 +4,10 @@
module Geminabox
class Hostess < Sinatra::Base
def serve
+ headers["Cache-Control"] = 'no-transform'
send_file(File.expand_path(File.join(Geminabox.data, *request.path_info)), :type => response['Content-Type'])
end
%w[/specs.4.8.gz
/latest_specs.4.8.gz