1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/src/lib/middleware
Ivar Conradi Østhus 4a3d26065f
Fix/cors expose ETag (#2594)
This commit fixes two issues with the frontend API

1. fix: update cors max age to match chromium defaults
https://source.chromium.org/chromium/chromium/src/+/main:services/network/public/cpp/cors/preflight_result.cc;drc=49e7c0b4886cac1f3d09dc046bd528c9c811a0fa;l=31
2: fix: expose ETage for cross-origin requests
2022-12-05 10:04:35 +01:00
..
api-token-middleware.test.ts Add test for api-token-middleware to not make database call when using PAT (#2110) 2022-09-29 08:53:29 +03:00
api-token-middleware.ts fix: CORS options path (#2165) 2022-10-11 09:20:29 +02:00
conditional-middleware.ts fix: refactor conditional middleware (#2261) 2022-10-26 13:00:49 +02:00
content_type_checker.test.ts fix: upgrade @types/node to v16.18.3 (#2365) 2022-11-10 08:20:15 +01:00
content_type_checker.ts
cors-origin-middleware.test.ts feat: add CORS instance settings (#1957) 2022-08-26 09:09:48 +02:00
cors-origin-middleware.ts Fix/cors expose ETag (#2594) 2022-12-05 10:04:35 +01:00
demo-authentication.ts
index.ts Define exports for enterprise (#2435) 2022-11-17 13:02:40 +02:00
no-authentication.test.ts
no-authentication.ts
oss-authentication.test.ts
oss-authentication.ts
pat-middleware.test.ts refactor: remove PAT experimental flag (#2299) 2022-10-31 09:38:30 +00:00
pat-middleware.ts feat: update seen_at pat column (#2516) 2022-11-30 08:10:31 +02:00
rbac-middleware.test.ts
rbac-middleware.ts
request-logger.ts
response-time-metrics.ts fix: add appName to http response time metrics (#2117) 2022-09-30 15:28:50 +02:00
secure-headers.ts Define exports for enterprise (#2435) 2022-11-17 13:02:40 +02:00
session-db.ts