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

CORS even using deleteHeaders function #73

Open carlitomurta opened 5 years ago

carlitomurta commented 5 years ago

I installed the library and configured it as specified, I experienced CORS errors with the following message "Access to XMLHttpRequest at 'https://logs-01.loggly.com/inputs/<my-token>/tag/AngularJS/' from origin 'http: // localhost: 5000' has been blocked by CORS policy: Response to preflight request does not pass access control check: In 'Access-Control-Allow-Origin' header is present on the requested resource. " but even using the deleteHeaders function to solve this, keeps happening. No log goes to loggly. I'm using AngularJS v1.6.43