You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since drakov enforces specified request headers (like Authorization), it would be helpful if either CORS headers could be configured (via a --header argument) or auto-configured. Right now I'm manually patching lib/middleware/response.js to allow the Authorization header.
I'd be willing to provide a pull request to add in a --header argument if it would be accepted.
The text was updated successfully, but these errors were encountered:
Hey @artlogic was something we had look at putting on our roadmap.
At some point I am thinking I would like to possibly remove or consolidate switches/configuration options that cause header changes in the response for the next minor version update (0.2.0), but for a patch version (0.1.x) I think this would be super useful 👍
Since drakov enforces specified request headers (like Authorization), it would be helpful if either CORS headers could be configured (via a
--header
argument) or auto-configured. Right now I'm manually patchinglib/middleware/response.js
to allow the Authorization header.I'd be willing to provide a pull request to add in a
--header
argument if it would be accepted.The text was updated successfully, but these errors were encountered: