logdna / nodejs

Node.js library for logging to LogDNA
MIT License
74 stars 66 forks source link

Only set user-agent header in Node #87

Closed mvasigh closed 4 years ago

mvasigh commented 4 years ago

Fixes #86

This avoids setting the user-agent header altogether, which should be ok per spec but currently emits a logged error in Safari and Chrome (see issue) so the fix avoids setting the header altogether in the browser since that is a large chunk of the browser market share, thoughts on this?

vilyapilya commented 4 years ago

Thank you @mvasigh for the fix!