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 file requests for a special folder(e.g. "/media").
Do I have to write my own Rack middleware or does an out-of-the-box solution exist?