mirror of
https://github.com/MichaelMure/git-bug.git
synced 2024-12-14 17:51:44 +03:00
150b5d489c
Now produce by default a build with the packed webui, to make it go gettable properly. fix #33
11 lines
302 B
Go
11 lines
302 B
Go
// +build debugwebui
|
|
|
|
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")
|