Code & Deploy
siGit Code
Git Hosting
Toggle menu
siGit Code
Git Hosting
Sign in
Sign in
@devries-cameron20
/
t3code-1
Fork
0
The best way to control Claude Code, Codex and more from any computer or phone
t3code-1
/
.repos
/
alchemy-effect
/
packages
/
integration-tests
/
test
/
Cloudflare
/
Website
/
vite-vue-template-fixture
/
server
/
index.ts
Code
Commits
Issues
Pulls
Cloud Agent
CICD
main
main
ts
12 lines
279 Bytes
Copy permalink
Copy
Raw
1
export
default
{
2
fetch
(
request
)
{
3
const
url
=
new
URL
(
request
.
url
);
4
5
if
(
url
.
pathname
.
startsWith
(
"
/api/
"
))
{
6
return
Response
.
json
({
7
name
:
"
Cloudflare
"
,
8
});
9
}
10
return
new
Response
(
null
,
{
status
:
404
});
11
},
12
}
satisfies
ExportedHandler
<
Env
>
;