From eae9474007b358ef5c78671008cc9b285c24cbb9 Mon Sep 17 00:00:00 2001 From: Tiago Yamamoto Date: Wed, 24 Dec 2025 00:20:43 -0300 Subject: [PATCH] docs: add clearer warning about NEXT_PUBLIC_API_URL format --- frontend/.env.example | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/.env.example b/frontend/.env.example index c361475..f66f4b3 100644 --- a/frontend/.env.example +++ b/frontend/.env.example @@ -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