lovebug
Active Coder
Hi, sorry to bother you guys but I've tried to find an answer to this but I'm not having any luck
So my website has a Javascript based bbc micro computer emulator (js-beeb) which loads my game project file from github
Well that is it used to load my game project file from github but now it fails and when I checked the browser console log I see something about CORS
I really don't know how to fix this, is it possible to fix this error ?
Heres the link to my website page that is having the issue
And the error message
As a temporary fix I have added a single line of PHP code to copy the file from github to my website but would prefer to load the file from the external github site if possible
New temporary fix
Thanks
So my website has a Javascript based bbc micro computer emulator (js-beeb) which loads my game project file from github
Well that is it used to load my game project file from github but now it fails and when I checked the browser console log I see something about CORS
I really don't know how to fix this, is it possible to fix this error ?
Heres the link to my website page that is having the issue
And the error message
Code:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://github.com/LoveBug2084/LadyBug/raw/main/src/Lady%20Bug.ssd. (Reason: CORS header ‘Access-Control-Allow-Origin’ does not match ‘’).
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://github.com/LoveBug2084/LadyBug/raw/main/src/Lady%20Bug.ssd. (Reason: CORS request did not succeed). Status code: (null)
As a temporary fix I have added a single line of PHP code to copy the file from github to my website but would prefer to load the file from the external github site if possible
New temporary fix
Thanks
Last edited: