eloquence / lib.reviews

A free/libre code and information platform for reviews of anything
Creative Commons Zero v1.0 Universal
171 stars 13 forks source link

Missing Access-Control-Allow-Origin header for the API #226

Closed Rudloff closed 5 years ago

Rudloff commented 5 years ago

Hello,

When calling the API (this URL, for example), the response does not have any Access-Control-Allow-Origin HTTP header, which means it can not be used in a JavaScript web app.

nicolasmaia commented 5 years ago

You might have better luck contacting him on IRC/matrix.

eloquence commented 5 years ago

Thanks for reporting this; this should be fixed & deployed now (although the API is still super bare bones of course -- the reason it wasn't set yet is that it's so far only consumed by lib.reviews itself for some JS features).

Rudloff commented 5 years ago

I confirm it now works correctly, thanks!