aboutsummaryrefslogtreecommitdiffstats
path: root/webui/debug_assets.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-07-16 22:25:50 +0200
committerMichael Muré <batolettre@gmail.com>2018-07-16 22:25:50 +0200
commitead4511250deb877e1867c2e38cbee9c27deb299 (patch)
tree09572e68634c7241eff7cb65bf94c02a6aac9a50 /webui/debug_assets.go
parentd659d74131996cea06e39f90114e21b36e61f6fc (diff)
downloadgit-bug-ead4511250deb877e1867c2e38cbee9c27deb299.tar.gz
add the infrastructure for an embedded web UI + command
Diffstat (limited to 'webui/debug_assets.go')
-rw-r--r--webui/debug_assets.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/webui/debug_assets.go b/webui/debug_assets.go
new file mode 100644
index 00000000..4027ecf1
--- /dev/null
+++ b/webui/debug_assets.go
@@ -0,0 +1,7 @@
+// +build !deploy_build
+
+package webui
+
+import "net/http"
+
+var WebUIAssets http.FileSystem = http.Dir("webui/build")