Why are custom headers from response header not displaying in Angular (CORS)?

Viewed 41

When trying to log response.headers.keys() when using CORS, it only displays the following headers: [ "cache-control", "content-type", "expires", "pragma" ]

but when in non-cors, it displays the headers which we need.

Already tried to add Access-Control-Expose-Headers to our nginx config but it still didn't work.

enter image description here

0 Answers
Related