fix(gateway): relax production routing for local endpoints
This commit is contained in:
parent
f7acb2fda5
commit
d0ca602269
@ -74,6 +74,9 @@ func applyProductionGatewayRouting(
|
||||
if strings.TrimSpace(strings.ToLower(request.Mode)) != "openclaw" {
|
||||
return request
|
||||
}
|
||||
if request.Endpoint.Host == "localhost" || request.Endpoint.Host == "127.0.0.1" || request.Endpoint.Host == "0.0.0.0" {
|
||||
return request
|
||||
}
|
||||
// Route through the unified bridge ingress
|
||||
request.Endpoint = gatewayruntime.Endpoint{
|
||||
Host: "xworkmate-bridge.svc.plus",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user