Skip to content
7 linesCodeBlameRaw

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 API1// Says which deployment answered, so a project that depends on this one
2// can show which of its addresses it was given.
3export default {
4 fetch(request) {
v2 of the API5 return Response.json({ service: "lab-api", version: "v2", host: new URL(request.url).hostname });
A tiny API6 },
7};