docs: add clearer warning about NEXT_PUBLIC_API_URL format
This commit is contained in:
parent
6a1bdefc4b
commit
eae9474007
1 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue