Serving static and templated files.
Features:
- Configurable base directories and endpoints
- Serve fonts and other assets for Tile services
- QGIS plugin repository
- Templates with inputs from path, arguments and configuration
Static file serving:
[[assets.static]]
# ./assets/* -> http://localhost:8080/assets/
dir = "./assets"
path = "/assets"
Template file serving:
[[assets.template]]
# ./templates/name.html -> http://localhost:8080/html/name/param
dir = "./templates"
path = "/html"
QGIS plugin repository:
[[assets.repo]]
# ./plugins/*.zip -> http://localhost:8080/qgisrepo/plugins.xml
dir = "./plugins"
path = "/qgisrepo"