add corsplug
All checks were successful
Build and Publish / build-release (push) Successful in 1m12s

This commit is contained in:
2026-05-13 17:57:24 -05:00
parent 39f5671b2c
commit cd0c0b21b4
2 changed files with 3 additions and 17 deletions

View File

@@ -39,21 +39,7 @@ cors_origin = System.get_env("CORS_ORIGIN", "*")
config :cors_plug,
origin: cors_origin,
headers: [
"Authorization",
"x-organization-id",
"Content-Type",
"Accept",
"Origin",
"User-Agent",
"DNT",
"Cache-Control",
"X-Mx-ReqToken",
"Keep-Alive",
"X-Requested-With",
"If-Modified-Since",
"X-CSRF-Token"
]
allow_headers: ["*"]
# Zitadel Configuration