SecurityError:当我试图从其他服务器访问镜像时,操作是不安全的

SecurityError: The operation is insecure when i try to access the image from the other server

本文关键字:镜像 操作 不安全 访问 服务器 其他 SecurityError      更新时间:2023-09-26

当我尝试从其他服务器获取图像时,我得到一个错误SecurityError: the operation is insecure.

如果我使用来自同一服务器的图像,我的代码是那么它的工作原理是什么?

来自其他位置的资源可能被更改,这会导致SecurityError。

你应该只包括来自同一域和子域的资源,使用相同的协议。