ColinEberhardt / applause-button

A zero-configuration medium-style button for adding applause / claps / kudos to web pages and blog posts
http://applause-button.com/
MIT License
428 stars 41 forks source link

Access to fetch has been blocked by CORS policy and applause count does not get updated #100

Closed Archfx closed 1 year ago

Archfx commented 1 year ago

Applause counts are no longer fetched correctly and It produces the following error,

Access to fetch at 'https://api.applause-button.com/get-claps?url=URL' from origin 'URL' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

I observed the same situation in Scott Logins Blog as well.

Here is the error from Scott Logins Blog,

Access to fetch at 'https://api.applause-button.com/get-claps?url=https://blog.scottlogic.com/2023/04/12/catching-up-with-openai.html' from origin 'https://blog.scottlogic.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

api.applause-button.com/get-claps?url=https://blog.scottlogic.com/2023/04/12/catching-up-with-openai.html:1     Failed to load resource: net::ERR_FAILED
Archfx commented 1 year ago

It is up again!