ajbrown / angular-loggly-logger

An AngularJS module which sends your $log message to loggly, and provides a service for manually sending messages to loggly.
MIT License
32 stars 49 forks source link

Delete default http headers from request #63

Closed krtek closed 7 years ago

krtek commented 7 years ago

If there are additional request headers, the browser will always send pre-flight OPTIONS request. See https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS

Introduce new parameter deleteHeaders to avoid this.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.6%) to 85.227% when pulling ae0b01974bb264268eb9b9bfea12ae9f58d57137 on krtek:master into 20eb055844a6a0671d1329300b5deea975dbd00a on ajbrown:master.

ajbrown commented 7 years ago

@krtek Thanks for the contribution! Can you update this pull request to target develop instead of master? Thanks!

krtek commented 7 years ago

@ajbrown Oops. Should read the guidelines. Sorry about that. See #65