Skip to content

Commit 141de3e

Browse files
committed
Change default github mirror url
1 parent 860fba3 commit 141de3e

File tree

2 files changed

+2
-2
lines changed
  • bukkit/src/main

2 files changed

+2
-2
lines changed

bukkit/src/main/java/io/github/rothes/protocolstringreplacer/Updater.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ private String getJson(String domain, int tryTime) {
129129
return jsonBuilder.toString();
130130
} catch (Throwable e) {
131131
if (tryTime == 0) {
132-
return getJson("mirror.ghproxy.com/https://raw.githubusercontent.com", ++tryTime);
132+
return getJson("ghfast.top/https://raw.githubusercontent.com", ++tryTime);
133133
} else if (tryTime == 1) {
134134
return getJson("raw.githubusercontent.com", ++tryTime);
135135
}

bukkit/src/main/resources/Languages/zh-CN/Configs/Config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Options:
88

99
# 设置检测更新服务器的域名. 默认为 'raw.githubusercontent.com'.
1010
# 若连接不上此加速线路, 应自行选择其它加速线路.
11-
Git-Raw-Host: 'mirror.ghproxy.com/https://raw.githubusercontent.com'
11+
Git-Raw-Host: 'ghfast.top/https://raw.githubusercontent.com'
1212

1313
# 设置 PSR 加载配置的时期. 可选 INIT (最早), LOAD (中), ENABLE (最晚, 默认值).
1414
# 主要用于控制台消息的修改.

0 commit comments

Comments
 (0)