update for modern assetfs

Cette révision appartient à :
Stephen McQuay 2016-02-23 13:59:40 -08:00
Parent e71d11cd4d
révision 78b1711cd9
1 fichiers modifiés avec 3 ajouts et 2 suppressions

Voir le fichier

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