From 98af24b30cb53e985b2126040bc0ad754f6995e0 Mon Sep 17 00:00:00 2001 From: mihai Date: Wed, 11 Sep 2024 11:02:01 +0300 Subject: [PATCH] add index --- index.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 index.ts diff --git a/index.ts b/index.ts new file mode 100644 index 0000000..a249131 --- /dev/null +++ b/index.ts @@ -0,0 +1,12 @@ +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 }) + } +}