chore: 更新图片链接和统计服务域名

将所有图片链接从t.alcy.cc/ycy更新为eopfapi.acofork.com/pic?img=ua
将umami统计服务域名从umami.2x.nz更新为umami.acofork.com
This commit is contained in:
二叉树树
2025-12-16 14:20:58 +08:00
parent 10e3c700a9
commit 731db09a45
4 changed files with 9 additions and 9 deletions

View File

@@ -37,7 +37,7 @@ export const siteConfig: SiteConfig = {
}, },
background: { background: {
enable: true, // Enable background image enable: true, // Enable background image
src: "https://t.alcy.cc/ycy", // Background image URL (supports HTTPS) src: "https://https://eopfapi.acofork.com/pic?img=ua", // Background image URL (supports HTTPS)
position: "center", // Background position: 'top', 'center', 'bottom' position: "center", // Background position: 'top', 'center', 'bottom'
size: "cover", // Background size: 'cover', 'contain', 'auto' size: "cover", // Background size: 'cover', 'contain', 'auto'
repeat: "no-repeat", // Background repeat: 'no-repeat', 'repeat', 'repeat-x', 'repeat-y' repeat: "no-repeat", // Background repeat: 'no-repeat', 'repeat', 'repeat-x', 'repeat-y'
@@ -78,7 +78,7 @@ export const navBarConfig: NavBarConfig = {
}, },
{ {
name: "统计", name: "统计",
url: "https://umami.2x.nz/share/CdkXbGgZr6ECKOyK", // Internal links should not include the base path, as it is automatically added url: "https://umami.acofork.com/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 external: true, // Show an external link icon and will open in a new tab
}, },
], ],
@@ -110,13 +110,13 @@ export const licenseConfig: LicenseConfig = {
export const imageFallbackConfig: ImageFallbackConfig = { export const imageFallbackConfig: ImageFallbackConfig = {
enable: false, enable: false,
originalDomain: "t.alcy.cc/ycy", originalDomain: "https://eopfapi.acofork.com/pic?img=ua",
fallbackDomain: "t.alcy.cc/ycy", fallbackDomain: "https://eopfapi.acofork.com/pic?img=ua",
}; };
export const umamiConfig: UmamiConfig = { export const umamiConfig: UmamiConfig = {
enable: true, enable: true,
baseUrl: "https://umami.2x.nz", baseUrl: "https://umami.acofork.com",
shareId: "CdkXbGgZr6ECKOyK", shareId: "CdkXbGgZr6ECKOyK",
timezone: "Asia/Shanghai", timezone: "Asia/Shanghai",
}; };

View File

@@ -1,6 +1,6 @@
--- ---
title: 加群向导 title: 加群向导
image: https://t.alcy.cc/ycy image: https://https://eopfapi.acofork.com/pic?img=ua
published: 2025-05-24 published: 2025-05-24
pinned: true pinned: true
category: 置顶 category: 置顶

View File

@@ -2,7 +2,7 @@
category: 记录 category: 记录
description: 一些记录,不定时更新 description: 一些记录,不定时更新
draft: false draft: false
image: https://t.alcy.cc/ycy image: https://https://eopfapi.acofork.com/pic?img=ua
lang: zh_CN lang: zh_CN
published: 1999-01-01 published: 1999-01-01
tags: tags:

View File

@@ -117,7 +117,7 @@ const bannerOffset =
<script src="/js/umami-share.js" defer></script> <script src="/js/umami-share.js" defer></script>
{/* <!-- Content Security Policy --> {/* <!-- Content Security Policy -->
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' 'unsafe-inline' https://giscus.app https://hpic.072103.xyz https://umami.2x.nz https://hm.baidu.com https://www.googletagmanager.com https://www.google-analytics.com https://pagead2.googlesyndication.com https://googleads.g.doubleclick.net https://static.cloudflareinsights.com https://*.adtrafficquality.google; style-src 'self' 'unsafe-inline' https://giscus.app https://fonts.googleapis.com https://api.iconify.design; font-src 'self' https://fonts.gstatic.com https://api.iconify.design; img-src 'self' data: https: http:; connect-src 'self' https://umami.2x.nz https://hm.baidu.com https://www.google-analytics.com https://analytics.google.com https://api.iconify.design https://static.cloudflareinsights.com https://pic.2x.nz https://q2.qlogo.cn https://ep1.adtrafficquality.google https://googleads.g.doubleclick.net; frame-src 'self' https://giscus.app *.bilibili.com https://www.google.com https://googleads.g.doubleclick.net https://support.nodeget.com https://*.adtrafficquality.google; object-src 'none'; base-uri 'self'; form-action 'self';"> */} <meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' 'unsafe-inline' https://giscus.app https://hpic.072103.xyz https://umami.acofork.com https://hm.baidu.com https://www.googletagmanager.com https://www.google-analytics.com https://pagead2.googlesyndication.com https://googleads.g.doubleclick.net https://static.cloudflareinsights.com https://*.adtrafficquality.google; style-src 'self' 'unsafe-inline' https://giscus.app https://fonts.googleapis.com https://api.iconify.design; font-src 'self' https://fonts.gstatic.com https://api.iconify.design; img-src 'self' data: https: http:; connect-src 'self' https://umami.acofork.com https://hm.baidu.com https://www.google-analytics.com https://analytics.google.com https://api.iconify.design https://static.cloudflareinsights.com https://pic.2x.nz https://q2.qlogo.cn https://ep1.adtrafficquality.google https://googleads.g.doubleclick.net; frame-src 'self' https://giscus.app *.bilibili.com https://www.google.com https://googleads.g.doubleclick.net https://support.nodeget.com https://*.adtrafficquality.google; object-src 'none'; base-uri 'self'; form-action 'self';"> */}
{favicons.map(favicon => ( {favicons.map(favicon => (
<link rel="icon" <link rel="icon"
href={favicon.src.startsWith('/') ? url(favicon.src) : favicon.src} href={favicon.src.startsWith('/') ? url(favicon.src) : favicon.src}
@@ -242,7 +242,7 @@ const bannerOffset =
<link rel="alternate" type="application/rss+xml" title={profileConfig.name} href={`${Astro.site}rss.xml`}/> <link rel="alternate" type="application/rss+xml" title={profileConfig.name} href={`${Astro.site}rss.xml`}/>
<!-- Umami分析自建 --> <!-- Umami分析自建 -->
<script defer src="https://umami.2x.nz/script.js" data-website-id="5d710dbd-3a2e-43e3-a553-97b415090c63" data-swup-ignore-script></script> <script defer src="https://umami.acofork.com/script.js" data-website-id="5d710dbd-3a2e-43e3-a553-97b415090c63" data-swup-ignore-script></script>
{/* <!-- Umami分析云-备用) --> {/* <!-- Umami分析云-备用) -->
<script defer src="https://cloud.umami.is/script.js" data-website-id="5d710dbd-3a2e-43e3-a553-97b415090c63" data-swup-ignore-script></script> */} <script defer src="https://cloud.umami.is/script.js" data-website-id="5d710dbd-3a2e-43e3-a553-97b415090c63" data-swup-ignore-script></script> */}
<!-- 百度统计 --> <!-- 百度统计 -->