Skip to content
⌘K
Explore
Download
Docs
Sign in
Sign up
flagon-io
/
lab-api
public
Star
0
Overview
Code
Issues
Pull requests
2
Agents
Workflows
Deployments
Insights
Files
Commits
Branches
Tags
Releases
Compare
Commit
v2 of the API
syntaqx
committed
7d ago
Parent
8e500b1
Browse files
d2ca224ba0fe
1
file
+1
−1
0/1 viewed
Collapse all
Unified
Split
src/index.js
+1
−1
View
Blame
Viewed
2
2
// can show which of its addresses it was given.
3
3
export default {
4
4
fetch(request) {
5
−
return Response.json({ service: "lab-api", version: "v1", host: new URL(request.url).hostname });
5
+
return Response.json({ service: "lab-api", version: "v2", host: new URL(request.url).hostname });
6
6
},
7
7
};