Clean NEXT_PUBLIC_API_URL to remove trailing /api/v2 if present, preventing paths like /api/v2/api/v2/configs/mining/status Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>