1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-23 00:22:19 +01: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 Fix error in migration when updating feature_environments (#2607) 2022-12-06 14:57:54 +02:00
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