karakanb / devo

A Chrome and Firefox extension that displays GitHub Trending, Hacker News, Product Hunt and Designer News on every new tab.
https://burakkarakan.com/devo/
MIT License
406 stars 47 forks source link

Network Error: Failure To Load Api #13

Closed karltaylor closed 6 years ago

karltaylor commented 6 years ago
Failed to load https://devo.burakkarakan.com/api/github: Redirect from 'https://devo.burakkarakan.com/api/github' to 'https://devo.burakkarakan.com/api/github' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'chrome-extension://elkhalpmbmbaeoemecpcfdcoekmpgmdm' is therefore not allowed access.

Recently been getting some errors and hackernews / github not loading:

screen shot 2018-10-12 at 13 19 01
karakanb commented 6 years ago

Thanks for reporting. Actually, I have no specific idea as Chrome extensions are not limited by CORS controls by default, as this document says, but the document also states that I need to set up a permissions key in the manifest.json file, which I didn't add. In this case, I would expect Chrome to complain for every request, but for now it seems like random to me. I will add the key and publish a new version to see whether this prevents it or not.

karakanb commented 6 years ago

This one is resolved via 6a6e0b8.