(config)
| 312 | // The static server and the ingress proxy front the same two local backends, |
| 313 | // so they share one route table. |
| 314 | function buildLocalServiceRouteArgs(config) { |
| 315 | const agentServerUrl = getAgentServerBaseUrl(config); |
| 316 | return [ |
| 317 | "--route", |
| 318 | `${AUTOMATION_ROUTE_PREFIX}=${getAutomationBaseUrl(config)}`, |
| 319 | ...AGENT_SERVER_ROUTE_PREFIXES.flatMap((prefix) => [ |
| 320 | "--route", |
| 321 | `${prefix}=${agentServerUrl}`, |
| 322 | ]), |
| 323 | ]; |
| 324 | } |
| 325 | |
| 326 | function startAgentServer(config) { |
| 327 | logService( |
no test coverage detected