Browse Source

update for modern assetfs

master
Stephen McQuay 6 years ago
parent
commit
78b1711cd9
  1. 5
      control.go

5
control.go

@ -83,8 +83,9 @@ func NewController(conf Config, mprof, pprof, staticFiles string) *http.ServeMux
prefix["ui"],
http.FileServer(
&assetfs.AssetFS{
Asset: Asset,
AssetDir: AssetDir,
Asset: Asset,
AssetDir: AssetDir,
AssetInfo: AssetInfo,
},
),
)

Loading…
Cancel
Save