diff --git a/api/simple.ts b/api/simple.ts new file mode 100644 index 0000000..046d5fe --- /dev/null +++ b/api/simple.ts @@ -0,0 +1,6 @@ +export default function handler(req: any, res: any) { + res.status(200).json({ + message: 'Simple endpoint works!', + timestamp: new Date().toISOString() + }); +} \ No newline at end of file diff --git a/vercel.json b/vercel.json index f908f82..6802f4f 100644 --- a/vercel.json +++ b/vercel.json @@ -45,11 +45,5 @@ } ] } - ], - "functions": { - "api/**/*.ts": { - "runtime": "@vercel/node@3.2.0" - } - }, - "buildCommand": "npm run build" + ] }