mirror of
https://github.com/kataras/iris.git
synced 2026-03-06 00:16:12 +00:00
minor
Former-commit-id: f201fcad8fb425d0a5e9c32faa649b5199f60183
This commit is contained in:
@@ -395,7 +395,6 @@ func FileServer(directory string, opts ...DirOptions) context.Handler {
|
||||
ctx.SetLastModified(info.ModTime())
|
||||
err = dirList(ctx, info.Name(), f)
|
||||
if err != nil {
|
||||
println(err.Error())
|
||||
plainStatusCode(ctx, http.StatusInternalServerError)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user