Skip to content

Commit

Permalink
Fix for update of go-bindata-assetfs
Browse files Browse the repository at this point in the history
  • Loading branch information
Zarloc committed Jan 12, 2016
1 parent aa890d4 commit 7e94266
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/static.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 7e94266

Please sign in to comment.