Question : How to by pass CORS error locally
Answered by : aaditya-goenka
Type about:config into the URL : Firefox
security.fileuri.strict_origin_policy
set it to false
in chrome : run commmand
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --disable-web-security
Source : https://www.thepolyglotdeveloper.com/2014/08/bypass-cors-errors-testing-apis-locally/ | Last Update : Thu, 17 Mar 22