I wanted to disable web security for my flutter web application. I tried:
- Set
export CHROME_EXECUTABLE=/path/to/google-chrome-unsafe.shin$HOME/.zshrc - Create
google-chrome-unsafe.shwith the content/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --disable-web-security --user-data-dir="tmp-dir" $* - Make it executable with
chmod a+x google-chrome-unsafe.sh
At first this is how it worked. However, now there is always an error message. Does anyone have any idea how to solve the problem?