Closed magsout closed 6 years ago
@magsout This should be working now
@karlcow still same message and error
hmm weird
→ http HEAD https://webcompat-metrics-staging.herokuapp.com/data/needsdiagnosis-timeline
Or is it when you test locally? aka not hosted.
HTTP/1.1 200 OK
Access-Control-Allow-Credentials: true
Access-Control-Allow-Origin: https://webcompat.github.io
Connection: keep-alive
Content-Length: 108434
Content-Type: application/json
Date: Thu, 21 Jun 2018 20:10:30 GMT
Server: gunicorn/19.8.1
Vary: Origin
Via: 1.1 vegur
Access-Control-Allow-Origin: https://webcompat.github.io
this tells to accept only from webcompat.github.io.
@karlcow
Or is it when you test locally? aka not hosted.
Yes, exactly :(
so indeed there are two ways to solve this:
*
Let me add *
Pull request in the pipe #32
@karlcow it ok on production but on developement not.