Middleware
for that. It will match incoming requests to files in the directory, streaming those back to the client if they exist. By default, it serves from Public/
but you may pass a custom path in the initializer if you like.
Consider a Public
directory in your project with a few files.
Public/
directory can be requested.