From 612a359c1dd9e2e35fa6a27c27facb7aafe05498 Mon Sep 17 00:00:00 2001 From: lirui Date: Sun, 18 Jan 2026 22:52:43 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=E7=BD=91=E7=AB=99?= =?UTF-8?q?=E5=9F=9F=E5=90=8D=E5=92=8C=E8=83=8C=E6=99=AF=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将网站域名从 blog.acofork.com 更改为 blog.meowrain.cn 修改背景图片源为新的随机图片API,并保留旧配置作为注释 --- astro.config.mjs | 2 +- src/config.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index 8d57fc4..26e5f66 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -36,7 +36,7 @@ export default defineConfig({ image: { service: passthroughImageService(), }, - site: "https://blog.acofork.com", + site: "https://blog.meowrain.cn", base: "/", trailingSlash: "always", output: "static", diff --git a/src/config.ts b/src/config.ts index 3732232..d09f8f7 100644 --- a/src/config.ts +++ b/src/config.ts @@ -35,7 +35,8 @@ export const siteConfig: SiteConfig = { }, background: { enable: true, // Enable background image - src: "https://t.alcy.cc/ycy", // Background image URL (supports HTTPS) + src: "https://riscv-nas.acetaffy.top/random?type=horizontal", + // src: "https://t.alcy.cc/ycy", // Background image URL (supports HTTPS) position: "center", // Background position: 'top', 'center', 'bottom' size: "cover", // Background size: 'cover', 'contain', 'auto' repeat: "no-repeat", // Background repeat: 'no-repeat', 'repeat', 'repeat-x', 'repeat-y'