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