disable cors chrome for test code example
Example 1: disable ufw
$ sudo ufw disable
Firewall stopped and disabled on system startup
Example 2: chrome.exe --disable-web-security
chrome.exe --user-data-dir="C://Chrome dev session" --disable-web-security
Example 3: run chrome without cors
$ open -a Google\ Chrome --args --disable-web-security --user-data-dir
Example 4: disable ufw
$ sudo ufw status
Status: inactive