From fbe12c850b1cc569d18aa58e7d02a649ecd1705d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E8=89=AF?= <841369634@qq.com> Date: Fri, 6 Sep 2024 10:46:18 +0800 Subject: [PATCH] =?UTF-8?q?pip.vue=EF=BC=9A=E6=8F=90=E7=A4=BA=E4=BF=A1?= =?UTF-8?q?=E4=BB=BB=E4=BB=93=E5=BA=93=E5=9F=9F=E5=90=8D=E7=9A=84=E4=BD=9C?= =?UTF-8?q?=E7=94=A8=EF=BC=8C=E5=8F=8A=E9=85=8D=E7=BD=AE=E6=96=B9=E5=BC=8F?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/gui/src/view/pages/plugin/pip.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/gui/src/view/pages/plugin/pip.vue b/packages/gui/src/view/pages/plugin/pip.vue index f5b5669ab..7a986c366 100644 --- a/packages/gui/src/view/pages/plugin/pip.vue +++ b/packages/gui/src/view/pages/plugin/pip.vue @@ -64,7 +64,10 @@ -
注意:切换仓库镜像同时会修改pip.ini中的trusted-host配置
+
+ 使用以上域名安装包时,不会进行SSL证书验证,多个域名用空格隔开
+ 注意:切换仓库镜像同时会修改pip.ini中的trusted-host配置,即使关闭ds也会继续保持 +
@@ -101,6 +104,7 @@ export default { ready () { }, async applyBefore () { + this.config.plugin.pip.setting.trustedHost = this.config.plugin.pip.setting.trustedHost.replaceAll(/[,,。+\s]+/g, ' ').trim() }, async applyAfter () { await this.$api.plugin.pip.start()