详细说一下步骤,方便人家参考嗯(
解决方法二(图解步骤) — 更换镜像
打开插件配置中的 market 插件配置,将其中的 search.endpoint 改成以下任意一个链接即可:
(注意不是registry.endpoint)
任选下面其一即可!(可用性从上往下 递减,但都很好用!)
https://gitee.com/shangxueink/koishi-registry-aggregator/raw/gh-pages/market.json
https://koishi-registry.yumetsuki.moe/index.json
https://registry.koishi.t4wefan.pub/index.json
https://cdn.jsdelivr.net/gh/Hoshino-Yumetsuki/koishi-registry@pages/index.json
https://koishi-registry.b23.ink/index.json
*如果你哪天不想用了,可以改回官方源:
https://registry.koishi.chat/index.json
官方镜像 非最新内容
如上图步骤,重载插件后,
若插件市场仍【无法连接】,可以重启koishi以强制插件市场刷新。
如果你不小心修改错了registry.endpoint,请恢复默认配置项,
然后重载插件,重新按照上文配置
另外,关于代理配置项:
建议不要使用代理访问插件市场镜像,最好是用访问性好的镜像。
请保持此项为默认值
完整配置项示例
https://registry.npmmirror.com
https://gitee.com/shangxueink/koishi-registry-aggregator/raw/gh-pages/market.json


