aboutsummaryrefslogtreecommitdiffstats
path: root/webui/debug_assets.go
diff options
context:
space:
mode:
Diffstat (limited to 'webui/debug_assets.go')
-rw-r--r--webui/debug_assets.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/webui/debug_assets.go b/webui/debug_assets.go
index 4027ecf1..52b76df5 100644
--- a/webui/debug_assets.go
+++ b/webui/debug_assets.go
@@ -4,4 +4,7 @@ package webui
import "net/http"
+// WebUIAssets give access to the files of the Web UI for a http handler
+// This access is only used in a debug build to be able to edit the WebUI
+// files without having to package them.
var WebUIAssets http.FileSystem = http.Dir("webui/build")