From 46e3f2f116a37786e621dd43fa7db2eec9c5ce44 Mon Sep 17 00:00:00 2001 From: jwinterm Date: Sun, 15 Mar 2026 11:31:19 -0400 Subject: [PATCH] fix: correct API_BASE_URL default (was double-prefixing /api) The default was http://nginx/api but all fetch calls already append /api/... resulting in http://nginx/api/api/... (404). Changed to http://nginx so the full path is http://nginx/api/admin/auth/verify. --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 354c7e2..b19f029 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -187,7 +187,7 @@ services: NEXT_PUBLIC_TURNSTILE_SITE_KEY: ${TURNSTILE_SITE_KEY:-} NEXT_PUBLIC_SITE_NAME: ${SITE_NAME:-WOW Checkout} environment: - API_BASE_URL: ${API_BASE_URL:-http://nginx/api} + API_BASE_URL: ${API_BASE_URL:-http://nginx} NEXT_PUBLIC_SITE_URL: ${SITE_URL:-http://localhost} NEXT_PUBLIC_DONATIONS_ENABLED: ${DONATIONS_ENABLED:-false} NEXT_PUBLIC_TURNSTILE_SITE_KEY: ${TURNSTILE_SITE_KEY:-}