From 0a235eead5b3ab3f3b50b3b9b34a4dff5b41ed94 Mon Sep 17 00:00:00 2001 From: StageGuard <1355416608@qq.com> Date: Thu, 6 Jan 2022 17:56:22 +0800 Subject: [PATCH] channge from domain name to ip --- .github/workflows/sync.yml | 2 +- source/SkyAutoplayer.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index 6e42b20..9284569 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -40,7 +40,7 @@ jobs: SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} with: source-repo: git@github.com:StageGuard/SkyAutoPlayerScript.git - destination-repo: ubuntu@cdn.stagex.top:StageGuard/SkyAutoPlayerScript.git + destination-repo: ubuntu@81.70.194.140:StageGuard/SkyAutoPlayerScript.git sync-to-gitee: runs-on: ubuntu-latest needs: update-commit-hash diff --git a/source/SkyAutoplayer.js b/source/SkyAutoplayer.js index 5b55759..36d463a 100644 --- a/source/SkyAutoplayer.js +++ b/source/SkyAutoplayer.js @@ -634,7 +634,7 @@ config = { }, checkVersion: function() { - this.values.gitVersion = http.get("http://cdn.stagex.top:8090/StageGuard/SkyAutoPlayerScript/raw/branch/master/gitVersion").body.string(); + this.values.gitVersion = http.get("http://81.70.194.140:8090/StageGuard/SkyAutoPlayerScript/raw/branch/master/gitVersion").body.string(); var periodVersion = this._global_storage.get("version", this.values.currentVersion); var currentVersion = this.values.currentVersion; if(periodVersion < currentVersion) { @@ -718,7 +718,7 @@ config = { fetchRepoFile: function(path, successCbk, failCbk) { var repos = [ - "http://cdn.stagex.top:8090/StageGuard/SkyAutoPlayerScript/raw/branch/master/" + path, + "http://81.70.194.140:8090/StageGuard/SkyAutoPlayerScript/raw/branch/master/" + path, "https://cdn.jsdelivr.net/gh/StageGuard/SkyAutoPlayerScript@" + config.values.gitVersion + "/" + path, "https://dl.skyautoplayerscript.stageguard.top/" + path, "https://gitee.com/stageguard/SkyAutoPlayerScript/raw/master/" + path,