Simplify Vercel configuration and add basic test endpoint

🔧 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.
This commit is contained in:
Randall Stillwell 2025-07-22 06:42:19 -05:00
parent 323d6a3dd3
commit b7c6e674a6
2 changed files with 7 additions and 7 deletions

6
api/simple.ts Normal file
View file

@ -0,0 +1,6 @@
export default function handler(req: any, res: any) {
res.status(200).json({
message: 'Simple endpoint works!',
timestamp: new Date().toISOString()
});
}

View file

@ -45,11 +45,5 @@
} }
] ]
} }
], ]
"functions": {
"api/**/*.ts": {
"runtime": "@vercel/node@3.2.0"
}
},
"buildCommand": "npm run build"
} }