summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_data/proxylist.yml1
-rw-r--r--_tools/envs_post-receive2
-rw-r--r--assets/js/blog-console.js2
3 files changed, 1 insertions, 4 deletions
diff --git a/_data/proxylist.yml b/_data/proxylist.yml
index 4d86deb..93ea274 100644
--- a/_data/proxylist.yml
+++ b/_data/proxylist.yml
@@ -15,7 +15,6 @@ mirrors:
- https://mayx.gitpage.si/
- https://mayx.serv00.net/
- https://mayx.vercel.app/
-- https://mayx-blog.pgs.sh/
- https://mayx.netlify.app/
- https://mayx.gitnet.page/
- https://mayx.stormkit.dev/
diff --git a/_tools/envs_post-receive b/_tools/envs_post-receive
index 9de99b9..9385c67 100644
--- a/_tools/envs_post-receive
+++ b/_tools/envs_post-receive
@@ -6,8 +6,6 @@ cd blog
mkdir Mabbs
curl -L -o Mabbs/README.md https://github.com/Mabbs/Mabbs/raw/main/README.md
bundle exec jekyll build -d ../public_html
-ssh pgs.sh rm blog --write
-rsync --delete --exclude='.git' -rv ../public_html/ mayx@pgs.sh:/blog
tar czvf MayxBlog.tgz --exclude-vcs ../public_html/
mv MayxBlog.tgz ../public_html/
cd ../public_html/
diff --git a/assets/js/blog-console.js b/assets/js/blog-console.js
index bf9701f..93bcf73 100644
--- a/assets/js/blog-console.js
+++ b/assets/js/blog-console.js
@@ -1108,7 +1108,7 @@
annotations: t.annotations,
execute: t.execute
};
- return ctx.registerTool(tool, { signal: controller.signal }).then(function () {
+ return Promise.resolve(ctx.registerTool(tool, { signal: controller.signal })).then(function () {
state.registered.push(t.name);
});
})).then(function () {