[JS,TS,Node]

Vue CORS Error on Mac

grape.store 2021. 12. 18. 17:16
반응형

https://stackoverflow.com/questions/35432749/disable-web-security-in-chrome-48

 

Disable-web-security in Chrome 48+

I have a problem with the --disable-web-security flag. It is not working in Chrome 48 and Chrome 49 beta on Windows. I've tried killing all of the instances, reboot and run Chrome with the flag fi...

stackoverflow.com

open -na Google\ Chrome --args --user-data-dir=/tmp/temporary-chrome-profile-dir --disable-web-security --disable-site-isolation-trials

 

nest 등 frame work에서 

enable.cors()라는 메서드로 설정하여 회피 할 수 있다.