1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +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 refactor: move docs into new structure / fix links for SEO (#2416) 2022-11-22 09:05:30 +00:00
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 fix: be explicit when specifying time & replace moment with date-fns (#1072) 2021-11-02 15:13:46 +01:00
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