git-bug/webui/debug_assets.go

11 lines
302 B
Go
Raw Normal View History

// +build debugwebui
package webui
import "net/http"
2018-08-13 16:28:16 +03:00
// 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")