remove self-hosted source

This commit is contained in:
StageGuard
2024-03-04 16:44:16 +08:00
committed by GitHub
parent 09a0cb8214
commit b2e8799320

View File

@@ -643,7 +643,7 @@ config = {
}, },
checkVersion: function() { checkVersion: function() {
this.values.gitVersion = http.get("http://81.70.194.140:8090/StageGuard/SkyAutoPlayerScript/raw/branch/master/gitVersion").body.string(); this.values.gitVersion = http.get("https://cdn.jsdelivr.net/gh/StageGuard/SkyAutoPlayerScript/gitVersion").body.string();
var periodVersion = this._global_storage.get("version", this.values.currentVersion); var periodVersion = this._global_storage.get("version", this.values.currentVersion);
var currentVersion = this.values.currentVersion; var currentVersion = this.values.currentVersion;
if(periodVersion < currentVersion) { if(periodVersion < currentVersion) {