解决国内服务器升级SForum时卡住的问题

发表:8月前 更新:8月前

就在刚刚,api.github.com 已经在大多数国内服务器上连接不上了,以下是解决办法:

在容器终端运行以下命令后重新运行升级命令就好:

sed -i 's|https://api.github.com/repos/zhuchunshu/SForum/releases|http://api-github.runpod.cn/repos/zhuchunshu/SForum/releases|' /data/www/app/CodeFec/Upgrading.php && composer config -g repos.packagist composer https://mirrors.tencent.com/composer/

@Inkedus

signature
保持理智
评论

无权限

请登录后评论

RunPod公众号

赞助商

联系我们

QQ群:798695907

邮箱:laravel@88.com