弃用 - 该网站从网络请求子资源,由于其用户的特权网络位置,它只能访问该子资源
Deprecation - The website requested a subresource from a network that it could only access because of its users' privileged network position
如何在 Chrome devtool 的控制台中禁用以下警告?
[Deprecation] The website requested a subresource from a network that it could only access because of its users' privileged network position. These requests expose non-public devices and servers to the internet, increasing the risk of a cross-site request forgery (CSRF) attack, and/or information leakage. To mitigate these risks, Chrome deprecates requests to non-public subresources when initiated from non-secure contexts, and will start blocking them in Chrome 92 (July 2021). See https://chromestatus.com/feature/5436853517811712 for more details.
我使用的是 Vue CLI,当应用程序启动时,终端中打印了以下内容:
App running at:
- Local: http://localhost:8080/
- Network: http://192.168.100.100:8080/
而我使用的是 Network
并收到警告,改为使用 Local
URL 为我删除了警告。
如何在 Chrome devtool 的控制台中禁用以下警告?
[Deprecation] The website requested a subresource from a network that it could only access because of its users' privileged network position. These requests expose non-public devices and servers to the internet, increasing the risk of a cross-site request forgery (CSRF) attack, and/or information leakage. To mitigate these risks, Chrome deprecates requests to non-public subresources when initiated from non-secure contexts, and will start blocking them in Chrome 92 (July 2021). See https://chromestatus.com/feature/5436853517811712 for more details.
我使用的是 Vue CLI,当应用程序启动时,终端中打印了以下内容:
App running at:
- Local: http://localhost:8080/
- Network: http://192.168.100.100:8080/
而我使用的是 Network
并收到警告,改为使用 Local
URL 为我删除了警告。