Since some recent update of chrome the local auto router isn't accessible anymore due to CORS (Cross-Origin-Resource-Sharing)

Rest requests to a resource not hosted on the same domain requires specific Access-Control-Allow-* headers to be responded from the server (the local auto router in this case)

The request Origin is https://easyeda.com. The local server must whitelist this domain in the Access-Control-Allow-Origin header and probably also whitelist the Access-Control-Allow-Headers

Error in Developer Console of chrome:

Access to fetch at 'http://127.0.0.1:3579/api/whois?version=6.5.23' from origin 'https://easyeda.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

#Bug Reports#
#BugReports#
Bug Reports

No comments yet. Be the first to comment!