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 issue exists with 2.4 #66

Closed Kriyainc closed 7 years ago

Kriyainc commented 8 years ago

Angular projects with custom headers still experience CORS issue. Kicks off Options requests to which the server responds with 405

flastowizka commented 7 years ago

i had this problem too: image

krupak commented 7 years ago

+1 I am having the same problem. It works in my one project but not working in the other. Need help to fix this asap as I have release it in production. The request which goes to loggly returns 405 method not allowed error.

Kriyainc commented 7 years ago

I downgraded to I think 1.3 to "fix" the issue

ajbrown commented 7 years ago

Hi Everyone,

Sorry for the delay on this, things have been very busy for me. I will work on getting this resolved and merged in this week. If anyone is willing to submit a PR for the fix, that would speed things up.

ajbrown commented 7 years ago

This should be fixed with the latest release.

makmonty commented 7 years ago

Still happening in v0.3.1. Anyway, I'm using Npm to install this library and the published version is still 0.2.4

tabuna commented 6 years ago

I'm on version 0.3.1 (on 6 Mar) and experience similar difficulties

Failed to load https://logs-01.loggly.com/inputs/***: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. The response had HTTP status code 400