Use Go 1.16 native embedding and remove go-bindata (#1151)

Co-authored-by: Sam Salisbury <samsalisbury@gmail.com>
This commit is contained in:
Jeff MitchellandSam Salisbury authored and GitHub committed 2021-04-20 10:45:05 -04:00
1 parent 46d7613e2d
commit a90a64d787
15 files changed
+634 -638

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ func handleUiWithAssets(c *Controller) http.Handler {
if c.conf.RawConfig.PassthroughDirectory != "" {
nextHandler = devPassthroughHandler(c.logger, c.conf.RawConfig.PassthroughDirectory)
} else {
nextHandler = http.FileServer(ui.AssetFile())
nextHandler = ui.Handler()
}
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {