Static Plugin

Serves static files from a provided root directory


Name Type Value Description
name string static Plugin name
root string Root directory from where the static content is served. Required.
index string index.html (default) Index file for serving a directory
html5 bool false (default) Enable HTML5 mode by forwarding all not-found requests to root so that SPA (single-page application) can handle the routing
browse bool false (default) Enable directory browsing