fixed gobindata panic.

This commit is contained in:
Stephen McQuay 2016-02-12 21:29:17 -08:00
parent 2ad8db2a00
commit a0ca983b45
1 changed files with 4 additions and 3 deletions

View File

@ -31,9 +31,10 @@ func main() {
"/", "/",
http.FileServer( http.FileServer(
&assetfs.AssetFS{ &assetfs.AssetFS{
Asset: Asset, Asset: Asset,
AssetDir: AssetDir, AssetDir: AssetDir,
Prefix: "static", AssetInfo: AssetInfo,
Prefix: "static",
}, },
), ),
) )