(body)
| 581 | const path = url.slice(SIDECAR_ORIGIN.length); |
| 582 | extras.sidecar.requests.push({ path, at: Date.now() - totalStarted }); |
| 583 | const json = (body) => route.fulfill({ |
| 584 | status: 200, |
| 585 | contentType: 'application/json', |
| 586 | body: JSON.stringify(body), |
| 587 | }); |
| 588 | if (path.startsWith('/health')) { |
| 589 | return json({ status: 'ok' }); |
| 590 | } |