nano-run/_docs/ui.md
Alexander Baryshnikov 30c9fc7e31 add embedded UI
2020-10-06 15:03:07 +08:00

615 B

UI

UI available by default at port 8989, browser will be automatically redirected to /ui/.

Disable ui by disable_ui: yes flag in the config.

If UI directory (from ui_directory, default ui), embedded UI will be used.

UI directory supports static files under static directory under /static prefix.

All *.html files scanned under ui_directory directory as Go HTML template with additional functions from Sprig. Recursive scanning not supported.

UI embedded by go-bindata.