You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cors headers are not properly set which causes bugs like:
Access to fetch at 'URL1' from origin 'URL2' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'.
But problem is not only with 'Access-Control-Allow-Origin'. Even when this header is passed properly you have:
Access to fetch at 'http://127.0.0.1:2000/rxdb/tasks/' from origin 'http://localhost:5000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: The value of the 'Access-Control-Allow-Credentials' header in the response is '' which must be 'true' when the request's credentials mode is 'include'.
Info
Environment: Node.js
Adapter: websql
Stack: ES6
Code
database.server({path: '/db',
port,cors: true});
The text was updated successfully, but these errors were encountered:
Case
Cors headers are not properly set
Issue
Cors headers are not properly set which causes bugs like:
But problem is not only with 'Access-Control-Allow-Origin'. Even when this header is passed properly you have:
Info
Code
The text was updated successfully, but these errors were encountered: