Google chrome 在chrome中启用跨域请求

Google chrome 在chrome中启用跨域请求,google-chrome,cors,Google Chrome,Cors,如果我们的应用程序需要跨域请求,则 --disable-web-security flag确实给了我一个错误 You are using an unsupported command-line flag: --disable-web-security. Stability and security will suffer 如何解决此问题。在MacOSX中,始终会给出错误,但即使显示该消息,安全选项仍将被禁用 这似乎是某种错误(考虑到web安全实际上已被禁用,它只是徒然显示了一条警告消息)。在

如果我们的应用程序需要跨域请求,则

--disable-web-security
flag确实给了我一个错误

You are using an unsupported command-line flag: --disable-web-security. Stability and security will suffer

如何解决此问题。

在MacOSX中,始终会给出错误,但即使显示该消息,安全选项仍将被禁用


这似乎是某种错误(考虑到web安全实际上已被禁用,它只是徒然显示了一条警告消息)。

在MacOSX中,始终会给出错误,但即使显示该消息,安全选项也将被禁用

这似乎是某个bug(考虑到web安全实际上已被禁用,它只是徒劳地显示了一条警告消息)。

这可能会有所帮助这可能会有所帮助