update for modern assetfs

This commit is contained in:
Stephen McQuay 2016-02-23 13:59:40 -08:00
parent e71d11cd4d
commit 78b1711cd9

View File

@ -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,
}, },
), ),
) )