How to solve 'Redirect has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header'?

前端 未结 17 2281
遥遥无期
遥遥无期 2020-11-27 13:12

I am working on an app using Vue js. According to my setting I need to pass to a variable to my URL when setting change.



        
17条回答
  •  南笙
    南笙 (楼主)
    2020-11-27 13:41

    When you have this problem with Chrome, you don't need an Extension.
    Start Chrome from the Console:

    chrome.exe --user-data-dir="C:/Chrome dev session" --disable-web-security

    Maybe you have to close all Tabs in Chrome and restart it.

提交回复
热议问题