1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/src/lib
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
..
__snapshots__ remove feature flag: tokens last seen (#2673) 2022-12-12 14:32:35 +00:00
addons Docs(fix): add more (missing) redirects, fix links (#2592) 2022-12-06 09:32:42 +01:00
db remove feature flag: toggle tag filtering (#2668) 2022-12-12 13:21:12 +00:00
error Define exports for enterprise (#2435) 2022-11-17 13:02:40 +02:00
middleware Fix/remove settings cache (#2694) 2022-12-14 17:35:22 +01:00
openapi task: Expose prometheus metrics (#2586) 2022-12-12 14:05:56 +01:00
proxy Define exports for enterprise (#2435) 2022-11-17 13:02:40 +02:00
routes Fix/remove settings cache (#2694) 2022-12-14 17:35:22 +01:00
schema feat: Add variants per env (#2471) 2022-11-21 10:37:16 +01:00
services Fix/remove settings cache (#2694) 2022-12-14 17:35:22 +01:00
types remove feature flag: tokens last seen (#2673) 2022-12-12 14:32:35 +00:00
util ui flags replaced in index.html (#2617) 2022-12-07 14:31:27 +02:00
app.test.ts feat: add support for cdnPrefix for static assets (#1191) 2022-01-06 10:31:00 +01:00
app.ts fix: adds cors caching (#2522) 2022-11-24 16:14:47 +01:00
create-config.test.ts If baseUriPath is set format it, but if it's not, don't override default with empty string (#2118) 2022-11-08 15:29:14 +01:00
create-config.ts fix: move docker-compose to this repo (#2666) 2022-12-12 20:40:18 +01:00
default-custom-auth-deny-all.ts refactor: move docs into new structure / fix links for SEO (#2416) 2022-11-22 09:05:30 +00:00
event-hook.test.ts fix: convert event-hook.test.js to typescript 2021-09-14 19:34:35 +02:00
event-hook.ts fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
internals.ts Define exports for enterprise (#2435) 2022-11-17 13:02:40 +02:00
logger.test.ts fix: convert more tests to typescript 2021-09-14 20:30:37 +02:00
logger.ts feat: add option for LOG_LEVEL (#803) 2021-04-23 15:31:12 +02:00
metric-events.ts fix: refactor event types 2021-04-29 10:21:29 +02:00
metrics.test.ts Feat/stats service (#2211) 2022-10-25 13:10:27 +02:00
metrics.ts Feat/stats service (#2211) 2022-10-25 13:10:27 +02:00
server-impl.test.ts fix: Do not call store function in constructor 2022-09-15 09:48:14 +02:00
server-impl.ts Fix/remove settings cache (#2694) 2022-12-14 17:35:22 +01:00