1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
unleash.unleash/src
Ivar Conradi Østhus 09c87c755f
Fix/remove settings cache (#2694)
In this PR we remove the general SettingService cache, as it will not
work across multiple horizontal unleash instances, events are not
published across.

We also fix the CORS origin to: 
- Access-Control-Allow-Origin set to "*" if no Origin is configured
- Access-Control-Allow-Origin set to "*" if any Origin is configured to
"*"
- - Access-Control-Allow-Origin set to array and have the "cors"
middleware to return an exact match on the user provided Origin.

Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
2022-12-14 17:35:22 +01:00
..
lib Fix/remove settings cache (#2694) 2022-12-14 17:35:22 +01:00
mailtemplates
migrations
test Fix/remove settings cache (#2694) 2022-12-14 17:35:22 +01:00
migrator.ts
server-dev.ts remove feature flag: toggle tag filtering (#2668) 2022-12-12 13:21:12 +00:00
server.ts Define exports for enterprise (#2435) 2022-11-17 13:02:40 +02:00