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.
This commit is contained in:
jwinterm
2026-03-15 11:31:19 -04:00
parent 00e04c74bb
commit 46e3f2f116
+1 -1
View File
@@ -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:-}