Code-Server 提示 This is likely because the editor is not running in a secure context

今天在code-server遇到一个错误提示

如下:

crypto.subtle' is not available so webviews will not work. This is likely because the editor is not running in a secure context (https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts).: Error: 'crypto.subtle' is not available so webviews will not work. This is likely because the editor is not running in a secure context (https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts).

解决办法:

开启chrome 的 unsafely-treat-insecure-origin-as-secure 功能

chrome://flags/#unsafely-treat-insecure-origin-as-secure

将对应的 code-server 网址填入对应的网址框,并开启该功能

© 版权声明
分享是一种美德,转载请保留原链接
THE END
文章不错?点个赞呗
点赞 0

发表评论

您的电子邮箱地址不会被公开。 必填项已用 * 标注

滚动至顶部