diff --git a/main.go b/main.go index 455963b..ff3fd54 100644 --- a/main.go +++ b/main.go @@ -9,10 +9,11 @@ import ( "github.com/gofiber/fiber/v2" "github.com/gofiber/fiber/v2/middleware/compress" "github.com/gofiber/fiber/v2/middleware/etag" - "github.com/gofiber/fiber/v2/middleware/limiter" "github.com/gofiber/fiber/v2/middleware/recover" "github.com/gofiber/template/html" + // "github.com/gofiber/fiber/v2/middleware/limiter" + "micrach/build" "micrach/config" "micrach/controllers" @@ -49,9 +50,9 @@ func main() { app := fiber.New(fiber.Config{Views: engine}) app.Use(recover.New()) - app.Use(limiter.New(limiter.Config{ - Next: func(c *fiber.Ctx) bool { return c.IsFromLocal() }, - })) + // app.Use(limiter.New(limiter.Config{ + // Next: func(c *fiber.Ctx) bool { return c.IsFromLocal() }, + // })) app.Use(compress.New()) app.Use(etag.New())