在勇敢的浏览器中禁用CORS
最近,我已经从Safari切换到Brave ( safari有一个可怕的虫子 - ,您将从每个站点登录),我正在尝试以CORS禁用模式运行它。
我已经尝试修改通常用于Chrome的命令,但是每次尝试都没有成功:
open /Applications/Google\ Chrome.app --args --user-data-dir="/var/tmp/Chrome dev session" --disable-web-security
我的本地Angular应用程序正在连接到几个远程服务器,除非我禁用CORS,否则所有请求都会被阻止 - 不,我无法进行任何更改在服务器上。
Recently I've switched from Safari to Brave (Safari has a horrible bug - when ever you open dev tools, you get logged out from every site), and I'm trying to run it in CORS disabled mode.
I've tried modifying the command I would usually use for Chrome, but every attempt was unsuccessful:
open /Applications/Google\ Chrome.app --args --user-data-dir="/var/tmp/Chrome dev session" --disable-web-security
My local Angular app is connecting to couple of remote servers and all requests get blocked unless I disable CORS - and no I can't make any changes on the servers.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这是我的工作,我使用OSX,您不需要关闭其他打开的勇敢的应用程序。
here is what work for me, I use OSX this way you don't need to close other opened brave apps.
由于Brave是Chromium Web浏览器的版本,因此适用于Chrome的方法将适用于Brave。请参阅帖子:在Chrome中禁用相同的起源策略
我是 windows + r
Because Brave is a version of the Chromium Web Browser, the same methods that work for Chrome will work for Brave. See the post: Disable same origin policy in Chrome
The answer that specifically worked for me was Windows + r