From 625b5b24fd7505c9c3e15930a6f90b5e8a818f4e Mon Sep 17 00:00:00 2001 From: Ho Ngoc Hai Date: Wed, 15 Apr 2026 00:56:01 +0700 Subject: [PATCH] =?UTF-8?q?fix:=20Web=20NEXT=5FPUBLIC=5FAPI=5FURL=20?= =?UTF-8?q?=E2=80=94=20add=20/api/v1=20path=20suffix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit api-client.ts uses NEXT_PUBLIC_API_URL as base URL for all fetch calls. Without /api/v1, requests go to /listings instead of /api/v1/listings. Co-Authored-By: Claude Opus 4.6 (1M context) --- apps/web/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/Dockerfile b/apps/web/Dockerfile index b65c884..939fe7f 100644 --- a/apps/web/Dockerfile +++ b/apps/web/Dockerfile @@ -15,7 +15,7 @@ RUN pnpm install --frozen-lockfile --filter @goodgo/web... # ---- Build ---- FROM base AS build # NEXT_PUBLIC_* vars are baked into JS bundle at build time -ARG NEXT_PUBLIC_API_URL=https://api.goodgo.vn +ARG NEXT_PUBLIC_API_URL=https://api.goodgo.vn/api/v1 ARG NEXT_PUBLIC_WEB_URL=https://platform.goodgo.vn ENV NEXT_PUBLIC_API_URL=$NEXT_PUBLIC_API_URL ENV NEXT_PUBLIC_WEB_URL=$NEXT_PUBLIC_WEB_URL