Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work (seemingly because CORS blocks attempts to access standalone_inlined.txt?) #1

Open
tvqt opened this issue Nov 19, 2022 · 1 comment

Comments

@tvqt
Copy link

tvqt commented Nov 19, 2022

Hi there,

I saw this project, and thought I'd try it out. I can't seem to get it working- unsure if I'm just doing it wrong, or if there's something broken with it (or both).

Checking the console, it appears an attempt to access a text file was blocked by CORS, and, although it appears to recognise things (in the setGameState object), nothing happens - I'm unsure if this is the intended behaviour, or if the game is meant to play itself 😅 any guidance would be much appreciated!!

Screenshot 2022-11-20 at 12 56 52 am

@chongdashu
Copy link
Contributor

Hi, yeah - I think Chrome blocks Cross-Origin Requests from local file systems.
Try this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants