stop cors error chrome code example
Example 1: disable cors chrome
open -na Google\ Chrome --args --user-data-dir=/tmp/temporary-chrome-profile-dir --disable-web-security
Example 2: disable cors chrome
$ google-chrome --disable-web-security
open -na Google\ Chrome --args --user-data-dir=/tmp/temporary-chrome-profile-dir --disable-web-security
$ google-chrome --disable-web-security