mirror of
https://github.com/afoim/fuwari.git
synced 2026-01-31 09:03:18 +08:00
chore: 更新网站域名及相关配置为acofork.com
- 将主域名从2x.nz更改为acofork.com - 移除侧边栏中的DomainSwitcher组件 - 更新所有相关配置中的域名引用 - 修改统计和图片服务的URL为新域名
This commit is contained in:
@@ -33,7 +33,7 @@ export default defineConfig({
|
|||||||
image: {
|
image: {
|
||||||
service: passthroughImageService()
|
service: passthroughImageService()
|
||||||
},
|
},
|
||||||
site: "https://2x.nz",
|
site: "https://acofork.com",
|
||||||
base: "/",
|
base: "/",
|
||||||
trailingSlash: "always",
|
trailingSlash: "always",
|
||||||
output: "static",
|
output: "static",
|
||||||
|
|||||||
@@ -17,7 +17,6 @@ const className = Astro.props.class;
|
|||||||
<Profile></Profile>
|
<Profile></Profile>
|
||||||
</div>
|
</div>
|
||||||
<div id="sidebar-sticky" class="transition-all duration-700 flex flex-col w-full gap-4 top-4 sticky top-4">
|
<div id="sidebar-sticky" class="transition-all duration-700 flex flex-col w-full gap-4 top-4 sticky top-4">
|
||||||
<DomainSwitcher class="onload-animation" style="animation-delay: 150ms"></DomainSwitcher>
|
|
||||||
<Tag class="onload-animation" style="animation-delay: 200ms"></Tag>
|
<Tag class="onload-animation" style="animation-delay: 200ms"></Tag>
|
||||||
<!-- 赞助标 -->
|
<!-- 赞助标 -->
|
||||||
<div class="overflow-hidden flex justify-center">
|
<div class="overflow-hidden flex justify-center">
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ export const siteConfig: SiteConfig = {
|
|||||||
},
|
},
|
||||||
background: {
|
background: {
|
||||||
enable: true, // Enable background image
|
enable: true, // Enable background image
|
||||||
src: "https://eopfapi.b.2.f.f.0.7.4.0.1.0.0.2.ip6.arpa/pic?img=ua", // Background image URL (supports HTTPS)
|
src: "https://eopfapi.acofork.com.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'
|
||||||
@@ -57,7 +57,7 @@ export const siteConfig: SiteConfig = {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
officialSites: [
|
officialSites: [
|
||||||
{ url: "https://blog.2b2x.cn", alias: "EdgeOne CN" },
|
{ url: "https://acofork.com", alias: "EdgeOne CN" },
|
||||||
{ url: "https://2x.nz", alias: "Vercel" },
|
{ url: "https://2x.nz", alias: "Vercel" },
|
||||||
|
|
||||||
{ url: "https://b.2.f.f.0.7.4.0.1.0.0.2.ip6.arpa", alias: "Cloudflare" },
|
{ url: "https://b.2.f.f.0.7.4.0.1.0.0.2.ip6.arpa", alias: "Cloudflare" },
|
||||||
@@ -81,7 +81,7 @@ export const navBarConfig: NavBarConfig = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "统计",
|
name: "统计",
|
||||||
url: "https://umami.2b2x.cn/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
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -118,13 +118,13 @@ export const licenseConfig: LicenseConfig = {
|
|||||||
|
|
||||||
export const imageFallbackConfig: ImageFallbackConfig = {
|
export const imageFallbackConfig: ImageFallbackConfig = {
|
||||||
enable: true,
|
enable: true,
|
||||||
originalDomain: "eopfapi.2b2x.cn",
|
originalDomain: "eopfapi.acofork.com",
|
||||||
fallbackDomain: "eopfapi.b.2.f.f.0.7.4.0.1.0.0.2.ip6.arpa/pic?img=ua",
|
fallbackDomain: "eopfapi.b.2.f.f.0.7.4.0.1.0.0.2.ip6.arpa/pic?img=ua",
|
||||||
};
|
};
|
||||||
|
|
||||||
export const umamiConfig: UmamiConfig = {
|
export const umamiConfig: UmamiConfig = {
|
||||||
enable: true,
|
enable: true,
|
||||||
baseUrl: "https://umami.2b2x.cn",
|
baseUrl: "https://umami.acofork.com",
|
||||||
shareId: "CdkXbGgZr6ECKOyK",
|
shareId: "CdkXbGgZr6ECKOyK",
|
||||||
timezone: "Asia/Shanghai",
|
timezone: "Asia/Shanghai",
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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.2b2x.cn/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> */}
|
||||||
<!-- 百度统计 -->
|
<!-- 百度统计 -->
|
||||||
|
|||||||
Reference in New Issue
Block a user