From 7e94266ebe91c55d88acdf9b8d33c0d9f235e6ee Mon Sep 17 00:00:00 2001 From: Zarloc Date: Tue, 12 Jan 2016 03:16:38 +0100 Subject: [PATCH] Fix for update of go-bindata-assetfs --- static/static.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/static.go b/static/static.go index fe5d4b725..923836f71 100644 --- a/static/static.go +++ b/static/static.go @@ -15,7 +15,7 @@ func FileSystemHandler() http.Handler { if info, err := os.Stat("static/files/"); err == nil && info.IsDir() { h = http.FileServer(http.Dir("static/files/")) } else { - h = http.FileServer(&assetfs.AssetFS{Asset: Asset, AssetDir: AssetDir, Prefix: "files"}) + h = http.FileServer(&assetfs.AssetFS{Asset: Asset, AssetDir: AssetDir, AssetInfo: AssetInfo, Prefix: "files"}) } return h }