mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
Previously the AI proxy baseURL was chosen based on NODE_ENV alone, which caused dev requests to loop back to the local proxy and forward "Bearer FORWARD_TO_PRODUCTION" upstream. Switch on the env var instead and use NEXT_PUBLIC_STACK_API_URL as the default base. |
||
|---|---|---|
| .. | ||
| prisma | ||
| scripts | ||
| src | ||
| .env | ||
| .env.development | ||
| .eslintrc.cjs | ||
| .gitignore | ||
| instrumentation-client.ts | ||
| LICENSE | ||
| next.config.mjs | ||
| package.json | ||
| prisma.config.ts | ||
| tsconfig.json | ||
| vercel.json | ||
| vitest.config.ts | ||
| vitest.setup.ts | ||