mirror of
https://github.com/Ad-closeNN/blog-fuwari.git
synced 2026-05-31 01:00:04 -04:00
chore(pages): 修改分流站点的优选描述为 www.visa.com.sg
This commit is contained in:
@@ -139,13 +139,9 @@ fetch("https://v1.hitokoto.cn")
|
||||
<script>
|
||||
async function loadCommitStats() {
|
||||
try {
|
||||
// 第零步:检查域名(甚至本地)
|
||||
const statsElement = document.getElementById('github-commit'); // 查找 id
|
||||
const link = document.getElementById('github-commit-link'); // 查找 id
|
||||
|
||||
if (!window.location.hostname.includes('localhost') && !window.location.hostname.includes('adclosenn.top')) {
|
||||
statsElement.textContent = 'Err. invalid domain name';
|
||||
}
|
||||
// 第一步:调用 API
|
||||
const githubResponse = await fetch(`https://api.github.com/repos/Ad-closeNN/blog-fuwari/commits?per_page=1`);
|
||||
|
||||
|
||||
@@ -26,14 +26,14 @@
|
||||
1. Cloudflare Worker(**无**优选):https://worker-cf.adclosenn.dev
|
||||
2. Cloudflare Worker([CMLiussss](https://cf.090227.xyz) 优选):https://youxuan-cf-worker.adclosenn.dev
|
||||
3. Cloudflare Pages(**无**优选):https://cf.adclosenn.dev
|
||||
4. Cloudflare Pages([CMLiussss](https://cf.090227.xyz) 优选):https://www.adclosenn.dev
|
||||
4. Cloudflare Pages([Visa 新加坡](https://www.visa.com.sg) 优选):https://www.adclosenn.dev
|
||||
5. Vercel(**无**优选):https://origin.vercel.adclosenn.dev
|
||||
6. Vercel(`64.29.17.65` 优选):https://vercel.adclosenn.dev
|
||||
6. 腾讯 EdgeOne CDN(加速 Cloudflare Pages,**无**优选):https://cf-eo.adclosenn.dev
|
||||
8. 腾讯 EdgeOne Pages(**无**优选):https://eo.adclosenn.top
|
||||
|
||||
:::note[笔记]
|
||||
Cloudflare Pages 优选版站点,在中国大陆境内为**优选域名 youx.cf.090227.xyz**,在境外为源 `blog-fuwari-c8w.pages.dev`。
|
||||
Cloudflare Pages 优选版站点,在中国大陆境内为**优选域名 www.visa.com.sg**,在境外为源 `blog-fuwari-c8w.pages.dev`。
|
||||
:::
|
||||
|
||||
对于非 Netlify 站点,建议优先选择**无优选**的 [https://cf.adclosenn.dev](https://cf.adclosenn.dev)。如果后续测试中 Netlify 节点的质量成绩始终不如 Cloudflare,则会迁移到 Cloudflare。
|
||||
@@ -139,7 +139,7 @@ the error log is like driving with your eyes closed.
|
||||
}
|
||||
else if (hostname === "www.adclosenn.dev") {
|
||||
// Cloudflare Pages 优选 https://www.adclosenn.dev
|
||||
siteType.innerHTML = '由 <a href="https://pages.cloudflare.com" target="_blank">Cloudflare Pages</a> 托管的 <a href="https://www.adclosenn.dev">https://www.adclosenn.dev</a>。本站点已进行 IP 优选,使用的 CNAME 为 <code>youx.cf.090227.xyz</code>。';
|
||||
siteType.innerHTML = '由 <a href="https://pages.cloudflare.com" target="_blank">Cloudflare Pages</a> 托管的 <a href="https://www.adclosenn.dev">https://www.adclosenn.dev</a>。本站点已进行 IP 优选,使用的 CNAME 为 <code>www.visa.com.sg</code>。';
|
||||
cdnType.textContent = "Cloudflare Pages";
|
||||
}
|
||||
else if (hostname === "origin.vercel.adclosenn.dev") {
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
<script>
|
||||
async function loadCommitStats2() {
|
||||
try {
|
||||
// 第零步:检查域名(甚至本地)
|
||||
const statsElement = document.getElementById('github-commit2'); // 查找 id
|
||||
const link = document.getElementById('github-commit-link2'); // 查找 id
|
||||
|
||||
@@ -41,9 +40,6 @@
|
||||
const authorElementUrl = document.getElementById('github-commit-author-link'); // 查找 id
|
||||
const fullElement = document.getElementById('github-commit-full'); // 查找 id
|
||||
|
||||
if (!window.location.hostname.includes('localhost') && !window.location.hostname.includes('adclosenn.top')) {
|
||||
statsElement.textContent = 'Err. invalid domain name';
|
||||
}
|
||||
// 第一步:调用 API
|
||||
const githubResponse = await fetch(`https://api.github.com/repos/Ad-closeNN/blog-fuwari/commits?per_page=1`);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user