debug_assets.go
 1//go:build debugwebui
 2
 3package webui
 4
 5import "net/http"
 6
 7// WebUIAssets give access to the files of the Web UI for a http handler
 8// This access is only used in a debug build to be able to edit the WebUI
 9// files without having to package them.
10var WebUIAssets http.FileSystem = http.Dir("webui/build")