Whether or not to enable the middleware.
Optional
folder?: stringBy default, the folder will be the same as the route
,
but you can use this option to define a relative path that won't affect the route.
If true
, the path to the statics folder will be relative to the project root
directory, otherwise, it will be relative to the directory where the app executable
file is located.
The name of both the route and the folder, relative to whatever you defined with the
onHome
option.
The options for the middleware that serves static files.