Browse Source

update for modern assetfs

master
Stephen McQuay 3 years ago
parent
commit
78b1711cd9
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      control.go

+ 3
- 2
control.go View File

@@ -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