Skip to content

Commit

Permalink
Merge pull request #26 from Zarloc/patch
Browse files Browse the repository at this point in the history
Fix for update of go-bindata-assetfs, closes #25
  • Loading branch information
jpillora committed Jan 12, 2016
2 parents aa890d4 + 7e94266 commit 9374175
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 9374175

Please sign in to comment.