req.nextUrl.origin resolves to external domain behind a reverse proxy, breaking server-to-server fetch calls. Use localhost:PORT instead. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1.5 KiB
1.5 KiB