managarten/packages/shared-nestjs-cors/src
Wuesteon 70c9196b40 🐛 fix(cors): handle both string and array corsOriginsEnv
The mana-core-auth configuration.ts was already splitting CORS_ORIGINS
into an array, but createCorsConfig expected a string and called .split()
on it, causing "corsOriginsEnv.split is not a function" TypeError.

Now handles both string and array inputs gracefully.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-17 19:27:57 +01:00
..
cors-config.spec.ts test(cors): add comprehensive unit tests for shared-nestjs-cors 2025-12-17 18:11:13 +01:00
cors-config.ts 🐛 fix(cors): handle both string and array corsOriginsEnv 2025-12-17 19:27:57 +01:00
index.ts feat(cors): add cross-app communication bundle 2025-12-17 18:11:13 +01:00