lib/geminabox/proxy/hostess.rb in geminabox-1.5.0 vs lib/geminabox/proxy/hostess.rb in geminabox-2.0.0.rc.1

- old
+ new

@@ -6,9 +6,10 @@ module Geminabox module Proxy class Hostess < Sinatra::Base attr_accessor :file_handler def serve + headers["Cache-Control"] = 'no-transform' if file_handler send_file file_handler.proxy_path else send_file(File.expand_path(File.join(Geminabox.data, *request.path_info)), :type => response['Content-Type']) end