VERCEL_URL returns deployment URL (tpmjs-xxx.vercel.app) not custom domain. This was causing session cookies to be set for wrong domain. Now prioritizes BETTER_AUTH_URL, then checks VERCEL_ENV=production to use tpmjs.com. |
||
|---|---|---|
| .. | ||
| public | ||
| scripts | ||
| src | ||
| .gitignore | ||
| eslint.config.mjs | ||
| next-env.d.ts | ||
| next.config.ts | ||
| package.json | ||
| postcss.config.js | ||
| RATE_LIMITING.md | ||
| RATE_LIMITING_SUMMARY.md | ||
| tailwind.config.ts | ||
| tsconfig.json | ||
| vercel.json | ||
| vitest.config.ts | ||