瀏覽代碼

fix(papermc): update API URL to prevent update failures (#4728)

Zechiax 1 年之前
父節點
當前提交
bcb40baef6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lgsm/modules/update_pmc.sh

+ 1 - 1
lgsm/modules/update_pmc.sh

@@ -33,7 +33,7 @@ fn_update_localbuild() {
 
 fn_update_remotebuild() {
 	# Get remote build info.
-	apiurl="https://papermc.io/api/v2/projects"
+	apiurl="https://api.papermc.io/v2/projects"
 	# Get list of projects.
 	remotebuildresponse=$(curl -s "${apiurl}")
 	# Get list of Minecraft versions for project.