docs: add clearer warning about NEXT_PUBLIC_API_URL format

This commit is contained in:
Tiago Yamamoto 2025-12-24 00:20:43 -03:00
parent 6a1bdefc4b
commit eae9474007

View file

@ -3,10 +3,10 @@
# =============================================================================
# Copy this file to .env.local and update the values
# API Backend URL (just the domain, endpoints already include /api/v1)
# Examples:
# Local development: http://localhost:8521
# Production: https://api.gohorsejobs.com
# API Backend URL
# ⚠️ IMPORTANT: Do NOT include /api/v1 - endpoints already have this prefix!
# ❌ Wrong: https://api-dev2.gohorsejobs.com/api/v1
# ✅ Correct: https://api-dev2.gohorsejobs.com
NEXT_PUBLIC_API_URL=http://localhost:8521