Reputation: 1498
Is there a way CORS can be enabled in chrome permanently, so I won't have to open the terminal and type the command open -a Google\ Chrome --args --disable-web-security
all the time?
Upvotes: 3
Views: 4758
Reputation: 300
@palaniraja helped to solve this in Opera on Mac (https://stackoverflow.com/a/43571952/7662526) with next command:
open -a Opera --args --disable-web-security --user-data-dir=~/emptydir
So please try to add --user-data-dir=~/emptydir
to your command
Upvotes: 1