diff --git a/main.go b/main.go index fc79c93..a4168e2 100644 --- a/main.go +++ b/main.go @@ -35,7 +35,10 @@ func serve(port int) (*fiber.App, <-chan error) { RequestMethods: []string{"GET", "HEAD"}, ServerHeader: "StaticFileServer", }) - app.Static("/", "./", fiber.Static{Browse: true}) + app.Static("/", "./", fiber.Static{ + Browse: true, + ByteRange: true, + }) go func() { defer close(ch)