mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2026-10-22 04:32:02 +02:00
chore: Updated go-jwt to v5
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user