mirror of
https://github.com/Such-Software/wowcheckout.git
synced 2026-10-17 05:51:45 +02:00
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:
+1
-1
@@ -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:-}
|
||||
|
||||
Reference in New Issue
Block a user