update for modern assetfs
This commit is contained in:
parent
e71d11cd4d
commit
78b1711cd9
@ -83,8 +83,9 @@ func NewController(conf Config, mprof, pprof, staticFiles string) *http.ServeMux
|
|||||||
prefix["ui"],
|
prefix["ui"],
|
||||||
http.FileServer(
|
http.FileServer(
|
||||||
&assetfs.AssetFS{
|
&assetfs.AssetFS{
|
||||||
Asset: Asset,
|
Asset: Asset,
|
||||||
AssetDir: AssetDir,
|
AssetDir: AssetDir,
|
||||||
|
AssetInfo: AssetInfo,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user