lib/geminabox/proxy/hostess.rb in geminabox-0.13.1 vs lib/geminabox/proxy/hostess.rb in geminabox-0.13.2
- old
+ new
@@ -3,10 +3,9 @@
module Geminabox
module Proxy
class Hostess < Sinatra::Base
attr_accessor :file_handler
-
def serve
if file_handler
send_file file_handler.proxy_path
else
send_file(File.expand_path(File.join(Server.data, *request.path_info)), :type => response['Content-Type'])