Skip to content

Commit fee67c5

Browse files
committed
fix: enable trusted proxy configuration
Uncommented the SetTrustedProxies call to properly configure trusted proxies
1 parent 08ddc1c commit fee67c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/mcp-proxy/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ func Run(
213213
}
214214

215215
router := gin.New()
216-
// router.SetTrustedProxies(trustedProxy)
216+
router.SetTrustedProxies(trustedProxy)
217217

218218
router.Use(ginzap.Ginzap(logger, time.RFC3339, true))
219219
router.Use(ginzap.RecoveryWithZap(logger, true))

0 commit comments

Comments
 (0)