You need to use EasyEDA editor to create some projects before publishing
local auto router doesn't work due to CORS
279 1
mightycoco 11 months ago
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 []( 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 '`[``](`' from origin '`[``](`' 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.`
mightycoco 11 months ago
As a workaround this helped: [](<br> <br> I've seen in com.easyeda.router.WhoIs that the Access-Control-Allow-Origin should have been set, but it didn't show up in the XMLHttpRequest response in the browser (Edge/Chrome). I'm not sure, if this header in Jettys hould be accessed case sensitive? The browser sends "Origin": "[](" - but the header is accessed via req.getHeader("origin");  - usually this shouldn't matter, but I'mnot sure if this specific version of jetty works different?
Login or Register to add a comment
如果需要转移工程请在个人中心 - 工程 - 工程高级设置 - 下载工程,下载后在 打开保存即可。
有问题联系QQ 3001956291 不再提醒
svg-battery svg-battery-wifi svg-books svg-more svg-paste svg-pencil svg-plant svg-ruler svg-share svg-user svg-logo-cn svg-double-arrow -mockplus- -mockplus- -mockplus- -mockplus- -mockplus- -mockplus- -mockplus- -mockplus-@1x -mockplus-

Cookie Notice

Our website uses essential cookies to help us ensure that it is working as expected, and uses optional analytics cookies to offer you a better browsing experience. To find out more, read our Cookie Notice