ens-proxy/index.ts

13 lines
249 B
TypeScript
Raw Normal View History

2024-09-11 10:02:01 +02:00
import type { VercelRequest, VercelResponse } from '@vercel/node'
export default async function index(
request: VercelRequest,
response: VercelResponse
) {
try {
response.status(200)
} catch (error) {
response.send({ error })
}
}