I am currently developing a Rack-based application and want to redirect all file requests(e.g. filename.filetype) to a specified folder.
Rack::Static only supports f
You might be able to use Rack::File directly. Here's a config.ru file you can plug into rackup to see it work:
Rack::File
config.ru
app = proc do |env| Rack::File.new('foo/bar').call(env) end run app