aboutsummaryrefslogtreecommitdiffstats
path: root/webui
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-08-13 15:28:16 +0200
committerMichael Muré <batolettre@gmail.com>2018-08-13 15:28:47 +0200
commitdf144e727a858ed07e3c9328d91efe052c4781e1 (patch)
treebfbfeea70f97ab3d4274c8e5add2c3aeeac1423b /webui
parentf2f779c5a8b4efe67317bbffe110a9880c1f529a (diff)
downloadgit-bug-df144e727a858ed07e3c9328d91efe052c4781e1.tar.gz
fix some linting trouble
Diffstat (limited to 'webui')
-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")