Sha256: b10abded48b8cbf892919161d05358bd085afd33fbc1d6156792945f17d27846
Contents?: true
Size: 375 Bytes
Versions: 8
Compression:
Stored size: 375 Bytes
Contents
# Fix Rack bug https://github.com/rack/rack/issues/301 module Rack class Static def initialize(app, options={}) @app = app @urls = options[:urls] || ["/favicon.ico"] @index = options[:index] root = options[:root] || Dir.pwd cache_control = options[:cache_control] @file_server = Rack::File.new(root, cache_control) end end end
Version data entries
8 entries across 8 versions & 1 rubygems