chore: Updated go-jwt to v5

This commit is contained in:
kvanzuijlen
2024-03-04 01:42:00 +01:00
parent e3dc927e57
commit f8efdbae5f
17 changed files with 119 additions and 133 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ func (m *multiUpstreamProxy) registerRewriteHandler(upstream options.Upstream, h
rewrite := newRewritePath(rewriteRegExp, upstream.RewriteTarget, writer)
h := alice.New(rewrite).Then(handler)
m.serveMux.MatcherFunc(func(req *http.Request, match *mux.RouteMatch) bool {
m.serveMux.MatcherFunc(func(req *http.Request, _ *mux.RouteMatch) bool {
return rewriteRegExp.MatchString(req.URL.Path)
}).Handler(h)