🔧 API Format Fix: - Convert register.ts to register.js using req/res pattern - Convert login.ts to login.js using req/res pattern - Convert setup-auth.ts to setup-auth.js using req/res pattern - Use CommonJS require() instead of ES6 imports - Use traditional Vercel function signature that works ✅ Working Format: - export default async function handler(req, res) - req.body for request data (auto-parsed by Vercel) - res.status().json() for responses - CommonJS modules with require() This should resolve all timeout issues and make authentication work properly. |
||
|---|---|---|
| .. | ||
| admin | ||
| auth | ||
| v1/cards | ||
| health.ts | ||
| hello.ts | ||
| migrate.ts | ||
| setup-auth.js | ||
| setup-auth.ts | ||
| simple.js | ||
| simple.ts | ||
| test-db.ts | ||
| tsconfig.json | ||