From 5b747ab923fac49bb2f4e43042691faa23c6faf8 Mon Sep 17 00:00:00 2001 From: jwinterm Date: Sun, 15 Mar 2026 11:31:17 -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 3a456a1..dbc3ef5 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:-XMR 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:-}