mirror of
https://github.com/oceanprotocol/ens-proxy.git
synced 2024-12-02 05:57:34 +01:00
13 lines
249 B
TypeScript
13 lines
249 B
TypeScript
|
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 })
|
||
|
}
|
||
|
}
|