1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-19 17:52:45 +02:00
unleash.unleash/frontend/src/component/admin/cors
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
..
CorsForm.test.tsx feat: add CORS instance settings (#1239) 2022-08-23 14:04:09 +02:00
CorsForm.tsx Fix/remove settings cache (#2694) 2022-12-14 17:35:22 +01:00
CorsHelpAlert.tsx Fix/remove settings cache (#2694) 2022-12-14 17:35:22 +01:00
index.tsx feat: add CORS instance settings (#1239) 2022-08-23 14:04:09 +02:00