diff --git a/server.go b/server.go index 6c28842..e668866 100644 --- a/server.go +++ b/server.go @@ -22,7 +22,7 @@ func addMiddleware(s *echo.Echo, conf *koanf.Koanf) { s.Use(middleware.JWTWithConfig(middleware.JWTConfig{ Skipper: func(ctx echo.Context) bool { - return ctx.Request().Method == "GET" + return ctx.Request().Method == "GET" && ctx.Request().URL.Path != "/links" }, SigningMethod: conf.String("jwt.method"), SigningKey: conf.Bytes("jwt.key"),