Fixing CORS env #43

Merged
Ichitux merged 1 commits from cors_fixes into main 2026-07-17 09:04:47 +00:00
+2 -2
View File
@@ -27,7 +27,7 @@ services:
PORT: "3001"
NODE_ENV: production
SESSION_SECRET: ${SESSION_SECRET:-change-me-in-production}
CORS_ORIGIN: http://localhost:4000
CORS_ORIGIN: ${CORS_ORIGIN:-https://farmacias.hacecalor.net}
REDIS_HOST: redis
REDIS_PORT: "6379"
REDIS_PASSWORD: ${REDIS_PASSWORD:-}
@@ -100,7 +100,7 @@ services:
PORT: "3002"
NODE_ENV: production
MONGODB_URI: mongodb://mongodb:27017/parapharmacy
CORS_ORIGIN: ${PARAPHARMACY_CORS_ORIGIN:-http://localhost:4000}
CORS_ORIGIN: ${CORS_ORIGIN:-https://farmacias.hacecalor.net}
depends_on:
- mongodb