From b7c6e674a64f280863ca77b977da20c30278f1d3 Mon Sep 17 00:00:00 2001 From: Randall Stillwell Date: Tue, 22 Jul 2025 06:42:19 -0500 Subject: [PATCH] Simplify Vercel configuration and add basic test endpoint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🔧 Configuration Changes: - Remove specific runtime version from vercel.json - Remove buildCommand that might be causing conflicts - Let Vercel use default Node.js runtime settings 🧪 Simple Test Endpoint: - Add /api/simple with minimal dependencies - Use traditional Vercel function signature (req, res) - No imports or complex operations to isolate the issue This should help identify if the problem is with our function configuration, imports, or Vercel setup. --- api/simple.ts | 6 ++++++ vercel.json | 8 +------- 2 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 api/simple.ts 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" + ] }