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
/
examples
/
neon-website-astro
/
src
/
pages
/
api
/
hello.ts
Code
Commits
Issues
Pulls
Cloud Agent
CICD
main
main
ts
7 lines
228 Bytes
Copy permalink
Copy
Raw
1
import
type
{
APIRoute
}
from
"
astro
"
;
2
3
export
const
GET
:
APIRoute
=
({
request
})
=>
4
Response
.
json
({
5
name
:
new
URL
(
request
.
url
).
searchParams
.
get
(
"
name
"
)
??
"
visitor
"
,
6
greeting
:
process
.
env
.
GREETING
??
"
Hello!
"
,
7
});