Serving Static Files
If you’d like to serve files from a static directory, there’s aMiddleware
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.