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"))