feat: allow cors
This commit is contained in:
parent
65add03cbc
commit
44c14bb324
4 changed files with 36 additions and 2 deletions
|
|
@ -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
|
||||
Loading…
Reference in a new issue