feat: allow cors

This commit is contained in:
Anton Voylenko 2026-01-11 15:02:26 +02:00
commit 44c14bb324
4 changed files with 36 additions and 2 deletions

View file

@ -51,4 +51,8 @@ ENABLE_SWAGGER_ENDPOINT=TRUE
# OPTIONAL, BASE PATH FOR MOUNTING ROUTES (e.g., /api/v1/whatsapp)
BASE_PATH=
# OPTIONAL, ENABLE WHEN BEHIND REVERSE PROXY/LOAD BALANCER
TRUST_PROXY=FALSE
TRUST_PROXY=FALSE
## CORS ##
# OPTIONAL, CORS ALLOWED ORIGINS (comma separated), DEFAULT ALLOWS ALL
# ALLOWED_ORIGINS=http://localhost:3000,http://example.com