astro / bitlove-ui

Bitlove.org on Yesod
http://bitlove.org/
Other
31 stars 8 forks source link

`/feed-lookup.json` not CORS-enabled? #16

Closed eteubert closed 10 years ago

eteubert commented 10 years ago

I tried to use the feed lookup API similar to by-enclosure.json. Therefore I copied http://bitlove.org/widget/base.js and just changed the API url. However, I get the following error in the JavaScript console:

XMLHttpRequest cannot load http://api.bitlove.org/feed-lookup.json?url=http%3A%2F%2Fmeta.metaebene.me%…ga&url=http%3A%2F%2Fmeta.metaebene.me%2Fmedia%2Fraumzeit%2Frz057-gaia.opus.
No 'Access-Control-Allow-Origin' header is present on the requested resource.
Origin 'http://localhost' is therefore not allowed access. 

Is this intentional or is it just the missing permission?

astro commented 10 years ago

Thanks, Erik!