Comments (1)
Thank you @HappyLife2 for opening this issue.
What is happening is that your browser is querying the production API and the request is being rejected because of CORS.
ui.chesslablab.org/:1 Access to fetch at 'https://api.chesslablab.org/v1/stats/opening' from origin 'https://ui.chesslablab.org:9443' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: The 'Access-Control-Allow-Origin' header has a value 'https://ui.chesslablab.org' that is not equal to the supplied origin. Have the server send the header with a valid value, or, if an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
The Chess API needs to be set up on your computer accordingly because at this moment there is no staging environment up and running. An entire full-stack environment needs to be setup in order to solve issues.
from spablab.
Related Issues (20)
- Update the Selenium IDE tests
- Improve the performance of the RAV reader
- Solo play ability on pending opponents HOT 3
- Custom chat URL in the environment settings HOT 4
- Adaptive color scheme
- Uncaught TypeError: navigator.clipboard is undefined
- Allow editing of usernames
- Add Rating Estimates
- De-hardcode the HTTPS scheme to access the API URLs HOT 2
- Add a new game action called Explain Position HOT 2
- Update the /inbox command calls
- Add the X-Api-Key HTTP header to each API request
- Host the React Chess app on ui.chesslablab.net HOT 1
- Update the API URL calls
- Host the React Chess UI on ui.chesslablab.org
- Add the 'use client' pragma to components
- Remove TypeScript syntax from JS files
- Implement the WebSocket logic using middleware HOT 1
- Fine-tune the dark theme HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spablab.