diff --git a/middleware/filesystem/filesystem.go b/middleware/filesystem/filesystem.go index 42276a9b5b..ea23ab05cf 100644 --- a/middleware/filesystem/filesystem.go +++ b/middleware/filesystem/filesystem.go @@ -180,6 +180,8 @@ func New(config ...Config) fiber.Handler { return fiber.ErrForbidden } + c.Status(fiber.StatusOK) + modTime := stat.ModTime() contentLength := int(stat.Size())