From d76a9bff9fe92280b28a41c17252c690b1f86b9b Mon Sep 17 00:00:00 2001 From: stephen mcquay Date: Fri, 12 Feb 2016 21:37:58 -0800 Subject: [PATCH] fix gobindata panic --- cmd/smweb/main.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cmd/smweb/main.go b/cmd/smweb/main.go index 4e81483..22a6af3 100644 --- a/cmd/smweb/main.go +++ b/cmd/smweb/main.go @@ -12,9 +12,10 @@ func main() { var fs http.FileSystem if os.Getenv("SM_DEV") == "" { fs = &assetfs.AssetFS{ - Asset: web.Asset, - AssetDir: web.AssetDir, - Prefix: "static", + Asset: web.Asset, + AssetDir: web.AssetDir, + AssetInfo: web.AssetInfo, + Prefix: "static", } } else { fs = http.Dir(os.Getenv("SM_STATIC"))