From dff8a2d2c99357f06970e0a4c8f30ca58c3fe826 Mon Sep 17 00:00:00 2001 From: mayx Date: Wed, 20 Nov 2024 06:32:07 +0000 Subject: [PATCH] Update 2 files - /_layouts/post.html - /service.md --- _layouts/post.html | 6 ++++-- service.md | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/_layouts/post.html b/_layouts/post.html index 6d353f2..c86b6ef 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -140,7 +140,8 @@ $.get(BlogAPI + "/suggest?id=" + blogurl + "&update=" + lastUpdated.valueOf(), f owner: 'Mabbs', admin: ['Mabbs'], id: '{{ page.id }}', // Ensure uniqueness and length less than 50 - distractionFreeMode: false // Facebook-like distraction free mode + distractionFreeMode: false, // Facebook-like distraction free mode + proxy: "https://cors-anywhere.mayx.eu.org/?https://github.com/login/oauth/access_token" }) } else { @@ -151,7 +152,8 @@ $.get(BlogAPI + "/suggest?id=" + blogurl + "&update=" + lastUpdated.valueOf(), f owner: 'Mabbs', admin: ['Mabbs'], id: '{{ page.id }}', // Ensure uniqueness and length less than 50 - distractionFreeMode: false // Facebook-like distraction free mode + distractionFreeMode: false, // Facebook-like distraction free mode + proxy: "https://cors-anywhere.mayx.eu.org/?https://github.com/login/oauth/access_token" }) } diff --git a/service.md b/service.md index 661e581..3103288 100644 --- a/service.md +++ b/service.md @@ -15,4 +15,5 @@ title: Mayx的公开服务 | GitHub镜像源 | | 参考[gh-proxy](https://github.com/hunshcn/gh-proxy) | | Pixiv图片代理 | | 参考[Pixiv圖片代理](https://pixiv.cat/reverseproxy.html) | | jsproxy | | 参考[jsproxy](https://github.com/EtherDream/jsproxy) | +| CORS代理 | | 参考[cloudflare-cors-anywhere](https://github.com/Zibri/cloudflare-cors-anywhere) | | Pixiv图片索引API | https://mabbs.github.io/pixiv-index/ | 参考[pixiv-index](https://github.com/Mabbs/pixiv-index) | \ No newline at end of file