不允许加载本地资源,Chrome服务器

问题描述 投票:0回答:1

尝试在我的项目中包含本地图像时出现以下错误:

不允许加载本地资源:file:/// localhost:8887 / assets / MIB.jpg%20alt = MIB

我的Google&Stack Overflow搜索使我相信,如果我将Chrome服务器下载到端口8887,就可以解决此安全错误。所以我做到了,但错误仍然存​​在。有人可以建议吗?

谢谢。

google-chrome security localhost
1个回答
0
投票

[好,我看到了我自己问题的部分答案。我现在仍在端口8887上运行Angular Live Development Server。

如何改为运行Chrome服务器?

© www.soinside.com 2019 - 2024. All rights reserved.