Replace hardcoded localhost:4000 URLs with NEXT_PUBLIC_API_URL environment variable in carrier portal pages to support different environments (dev/staging/production). Pages updated: - app/carrier/accept/[token]/page.tsx - app/carrier/reject/[token]/page.tsx This fixes the issue where preprod environment (app.preprod.xpeditis.com) was calling localhost:4000 instead of the correct API endpoint (api.preprod.xpeditis.com). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| accept/[token] | ||
| reject/[token] | ||