Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.
| A tiny API | 1 | // Says which deployment answered, so a project that depends on this one |
| 2 | // can show which of its addresses it was given. | |
| 3 | export default { | |
| 4 | fetch(request) { | |
| 5 | return Response.json({ service: "lab-api", version: "v1", host: new URL(request.url).hostname }); | |
| 6 | }, | |
| 7 | }; |