From 323047f9aae903b54ec2d28611994470d9895f55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E5=8F=89=E6=A0=91=E6=A0=91?= Date: Mon, 15 Dec 2025 23:01:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=E7=BB=9F=E8=AE=A1?= =?UTF-8?q?=E5=92=8CUmami=E6=9C=8D=E5=8A=A1=E7=9A=84=E5=9F=9F=E5=90=8D?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将统计链接和Umami服务的域名从acofork.com更改为2x.nz,以反映服务迁移 --- astro.config.mjs | 2 +- src/config.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index 67df56562..3dc4fb2b4 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -33,7 +33,7 @@ export default defineConfig({ image: { service: passthroughImageService() }, - site: "https://acofork.com", + site: "https://2x.nz", base: "/", trailingSlash: "always", output: "static", diff --git a/src/config.ts b/src/config.ts index f5097d588..e91cbbd1f 100644 --- a/src/config.ts +++ b/src/config.ts @@ -77,7 +77,7 @@ export const navBarConfig: NavBarConfig = { }, { name: "统计", - url: "https://umami.acofork.com/share/CdkXbGgZr6ECKOyK", // Internal links should not include the base path, as it is automatically added + url: "https://umami.2x.nz/share/CdkXbGgZr6ECKOyK", // Internal links should not include the base path, as it is automatically added external: true, // Show an external link icon and will open in a new tab }, { @@ -120,7 +120,7 @@ export const imageFallbackConfig: ImageFallbackConfig = { export const umamiConfig: UmamiConfig = { enable: true, - baseUrl: "https://umami.acofork.com", + baseUrl: "https://umami.2x.nz", shareId: "CdkXbGgZr6ECKOyK", timezone: "Asia/Shanghai", };