lib/buildmaster/source_file_handler.rb in BuildMaster-0.8.1 vs lib/buildmaster/source_file_handler.rb in BuildMaster-0.9.0
- old
+ new
@@ -15,10 +15,10 @@
def initialize(server, spec)
super
@config = server.config
@logger = @config[:Logger]
@spec = spec
- @delegate = WEBrick::HTTPServlet::FileHandler.new(server, spec.content_dir, true)
+ @delegate = WEBrick::HTTPServlet::FileHandler.new(server, spec.content_dir.path, true)
end
def service(req, res)
path = req.path_info
extension = File.extname(path)
\ No newline at end of file