We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
After having read: "The full mult-threaded engine:
This is best version of the engine but will only run in new browsers with the proper CORS headers applied.
Files: stockfish-nnue-16.js & stockfish-nnue-16.wasm"
I would like to know what the proper CORS headers are and how to set them up? Or is the issue that I am running on localhost?
Thanks in advance😃
The text was updated successfully, but these errors were encountered:
You can get the answer in the example folder :
stockfish.js/example/server.js
Line 127 in bb8d0c3
You must add those two headers for requests serving your app page & the stockfish-nnue-16.js file :
stockfish-nnue-16.js
resHeaders["Cross-Origin-Embedder-Policy"] = "require-corp"; resHeaders["Cross-Origin-Opener-Policy"] = "same-origin";
Sorry, something went wrong.
No branches or pull requests
After having read:
"The full mult-threaded engine:
This is best version of the engine but will only run in new browsers with the proper CORS headers applied.
Files: stockfish-nnue-16.js & stockfish-nnue-16.wasm"
I would like to know what the proper CORS headers are and how to set them up? Or is the issue that I am running on localhost?
Thanks in advance😃
The text was updated successfully, but these errors were encountered: