Skip to content

Commit 8333411

Browse files
committed
fix: rewrite path for proxy
Signed-off-by: Donnie Adams <donnie@acorn.io>
1 parent b7fa030 commit 8333411

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/proxy/proxy.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,7 @@ func (p *OAuthProxy) mcpProxyHandler(w http.ResponseWriter, r *http.Request) {
409409
req.URL.Scheme = newURL.Scheme
410410
req.URL.Host = newURL.Host
411411
req.Host = newURL.Host
412+
req.URL.Path = newURL.Path
412413

413414
// Add forwarded headers from token props
414415
if tokenInfo.Props != nil {

0 commit comments

Comments
 (0)