| 1 | /// <reference types="@cloudflare/workers-types" /> |
| 2 | |
| 3 | // Minimal OTLP "collector" fixture used by ObservabilityDestination.test.ts. |
| 4 | // Cloudflare preflights an observability destination's endpoint with a POST |
| 5 | // and requires a 2xx — this worker answers 200 to everything so in-place |
| 6 | // updates (which always re-run the preflight) can converge. |
| 7 | export default { |
| 8 | fetch: async () => new Response("sink-ok"), |
| 9 | }; |