fix: add ORIGIN environment variable for SvelteKit to prevent internal IP/port usage

This commit is contained in:
2026-05-12 11:17:43 -05:00
parent 2436a4d563
commit d73c0dca83
2 changed files with 4 additions and 0 deletions

View File

@@ -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: