update for modern assetfs

This commit is contained in:
sm
2016-02-23 13:59:40 -08:00
parent e71d11cd4d
commit 78b1711cd9
+3 -2
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,
},
),
)