I would like to add the headers, so I can use the pagination, but no idea how to add them to the configuration.
I use in my endpoin.ex this configuration:
plug CORSPlug, origin: ~r/http:\/\/localhost:3333$|https:\/\/.*\.xxx$/
How can I add the
Access-Control-Expose-Headers to my endpoint?
With the jquery ajax call and
request.getAllResponseHeaders() I get only the default headers (header spec)
With Postman and Browser the headers are visible.
I am a bit lost.