fix: add ORIGIN environment variable for SvelteKit to prevent internal IP/port usage
This commit is contained in:
@@ -365,6 +365,8 @@ services:
|
||||
- KEYCLOAK_REALM=${KEYCLOAK_REALM:-master}
|
||||
- KEYCLOAK_CLIENT_ID=${KEYCLOAK_CLIENT_ID:-anexo76-backend}
|
||||
- KEYCLOAK_CLIENT_SECRET=${KEYCLOAK_CLIENT_SECRET:-dev-secret}
|
||||
# SvelteKit ORIGIN — evita que request.url.origin use la IP/puerto interno del contenedor
|
||||
- ORIGIN=${ORIGIN:-https://anexo76-dev.aduanasoft.com}
|
||||
ports:
|
||||
- "5111:5173"
|
||||
depends_on:
|
||||
|
||||
Reference in New Issue
Block a user