loopback-content-range icon indicating copy to clipboard operation
loopback-content-range copied to clipboard

Allowed exposed headers overwritten by this mixin.

Open joe-at-startupmedia opened this issue 6 years ago • 1 comments

I have multiple headers I need to expose outside of this mixin. The problem is it sets the only allowed exposed header to Content-Range. Ideally it should append to an array if headers are already exposed per the middleware.json configuration. https://github.com/darthwesker/loopback-content-range/blob/v1.0.1/index.js#L21

joe-at-startupmedia avatar Feb 01 '19 01:02 joe-at-startupmedia

Hi @joe-at-startupmedia Could you please provide an example of your implementation?

darthwesker avatar Feb 12 '19 15:02 darthwesker