gpt4 book ai didi

http - bower 使用 http 而不是 https

转载 作者:可可西里 更新时间:2023-11-01 15:27:00 24 4
gpt4 key购买 nike

有没有办法强制 bower 安装使用 http 而不是 https?我能够通过 npm config set strict-ssl false 在 npm 中解决这个问题。我想知道是否有可以运行的 bower 命令来禁用 ssl。谢谢。

最佳答案

添加或编辑您的用户或项目特定的 .bowerrc 文件并添加以下配置。

{
"strict-ssl": false
}

这与 npm 配置文件中的 strict-ssl false 完全一样。

关于http - bower 使用 http 而不是 https,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41468209/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com