Deadly CORS when http://localhost is the origin

后端 未结 9 1312
迷失自我
迷失自我 2020-11-22 00:54

I am stuck with this CORS problem, even though I set the server (nginx/node.js) with the appropriate headers.

I can see in Chrome Network pane -> Response Headers:

9条回答
  •  情歌与酒
    2020-11-22 01:35

    The solution is to install an extension that lifts the block that Chrome does, for example:

    Access Control-Allow-Origin - Unblock (https://add0n.com/access-control.html?version=0.1.5&type=install).

提交回复
热议问题