mc-player-counter icon indicating copy to clipboard operation
mc-player-counter copied to clipboard

Cross-Origin Request Blocked (CORS header ‘Access-Control-Allow-Origin’ missing).

Open leojfrancis opened this issue 4 years ago • 3 comments

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at {server}. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). This is the error I am getting for my server working for other servers

leojfrancis avatar Oct 06 '20 06:10 leojfrancis

How are you using it? Can you show me the code?

leonardosnt avatar Oct 06 '20 22:10 leonardosnt

<b class="btn-primary my-1 px-3 ml-3" data-playercounter-ip="{{ config("server-ip") }}:25565">..0 {{config("server-ip")}} = "mc.worldofatlantida.com"

The code is working perfectly with other servers but not with this one

leojfrancis avatar Oct 15 '20 05:10 leojfrancis

The API CDN is dead, but also... I think SSL certs/apache/nginx security can block this. As it's not local and the SSL doesn't like remote content. Not sure though.

sid-engel avatar Jun 25 '21 03:06 sid-engel