Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix usage of deprecated Rack::File in Rack 3.0 (#896)
Just a quick change to replace usage of Rack::File with Rack::Files, since this has been deprecated in Rack 3.0 and will be removed in Rack 3.1 (see https://github.com/rack/rack/blob/3-0-stable/lib/rack/file.rb). Kept backward compatibility with older Rack versions by checking for the existence of Rack::Files before instantiating it, falling back to Rack::File.
- Loading branch information