diff --git a/astro.config.mjs b/astro.config.mjs index 4ee069f31..71e5e3552 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -39,7 +39,16 @@ export default defineConfig({ output: "static", redirects: { "/donate": "/sponsors", - "/donate/": "/sponsors/" + "/ak": "https://akile.io/register?aff_code=503fe5ea-e7c5-4d68-ae05-6de99513680e", + "/kook": "https://kook.vip/K29zpT", + "/long": "https://iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii.iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii.in/", + "/mly": "https://muleyun.com/aff/GOTRJLPN", + "/tg": "https://t.me/+_07DERp7k1ljYTc1", + "/tit": "/posts/pin/", + "/tly": "https://tianlicloud.cn/aff/HNNCFKGP", + "/wly": "https://wl.awcmam.com/#/register?code=FNQwOQBM", + "/yyb": "https://www.rainyun.com/acofork_?s=bilibili", + "/iku": "https://ikuuu.de/auth/register?code=Bjou" }, integrations: [tailwind({ nesting: true, @@ -184,4 +193,4 @@ export default defineConfig({ }, }, }, -}); +}); \ No newline at end of file diff --git a/edgeone.json b/edgeone.json index f7fa0588d..2c63c0851 100644 --- a/edgeone.json +++ b/edgeone.json @@ -1,59 +1,2 @@ { - "redirects": [ - { - "source": "/ak", - "destination": "https://akile.io/register?aff_code=503fe5ea-e7c5-4d68-ae05-6de99513680e", - "statusCode": 302 - }, - { - "source": "/kook", - "destination": "https://kook.vip/K29zpT", - "statusCode": 302 - }, - { - "source": "/long", - "destination": "https://iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii.iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii.in/", - "statusCode": 302 - }, - { - "source": "/mly", - "destination": "https://muleyun.com/aff/GOTRJLPN", - "statusCode": 302 - }, - { - "source": "/tg", - "destination": "https://t.me/+_07DERp7k1ljYTc1", - "statusCode": 302 - }, - { - "source": "/tit", - "destination": "/posts/pin/", - "statusCode": 302 - }, - { - "source": "/tly", - "destination": "https://tianlicloud.cn/aff/HNNCFKGP", - "statusCode": 302 - }, - { - "source": "/wly", - "destination": "https://wl.awcmam.com/#/register?code=FNQwOQBM", - "statusCode": 302 - }, - { - "source": "/yyb", - "destination": "https://www.rainyun.com/acofork_?s=bilibili", - "statusCode": 302 - }, - { - "source": "/iku", - "destination": "https://ikuuu.de/auth/register?code=Bjou", - "statusCode": 302 - }, - { - "source": "/donate", - "destination": "/sponsors", - "statusCode": 302 - } - ] -} \ No newline at end of file +} diff --git a/src/components/widget/SideBar.astro b/src/components/widget/SideBar.astro index 45633dad0..fb3d343df 100644 --- a/src/components/widget/SideBar.astro +++ b/src/components/widget/SideBar.astro @@ -1,37 +1,37 @@ ---- -import type { MarkdownHeading } from "astro"; - -import Profile from "./Profile.astro"; -import Tag from "./Tags.astro"; -import DomainSwitcher from "./DomainSwitcher.astro"; - -interface Props { - class?: string; - headings?: MarkdownHeading[]; -} - -const className = Astro.props.class; ---- -
- \ No newline at end of file +--- +import type { MarkdownHeading } from "astro"; + +import Profile from "./Profile.astro"; +import Tag from "./Tags.astro"; +import DomainSwitcher from "./DomainSwitcher.astro"; + +interface Props { + class?: string; + headings?: MarkdownHeading[]; +} + +const className = Astro.props.class; +--- + + diff --git a/vercel.json b/vercel.json index dd9a7845c..2c63c0851 100644 --- a/vercel.json +++ b/vercel.json @@ -1,59 +1,2 @@ { - "redirects": [ - { - "source": "/ak", - "destination": "https://akile.io/register?aff_code=503fe5ea-e7c5-4d68-ae05-6de99513680e", - "permanent": false - }, - { - "source": "/kook", - "destination": "https://kook.vip/K29zpT", - "permanent": false - }, - { - "source": "/long", - "destination": "https://iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii.iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii.in/", - "permanent": false - }, - { - "source": "/mly", - "destination": "https://muleyun.com/aff/GOTRJLPN", - "permanent": false - }, - { - "source": "/tg", - "destination": "https://t.me/+_07DERp7k1ljYTc1", - "permanent": false - }, - { - "source": "/tit", - "destination": "/posts/pin/", - "permanent": false - }, - { - "source": "/tly", - "destination": "https://tianlicloud.cn/aff/HNNCFKGP", - "permanent": false - }, - { - "source": "/wly", - "destination": "https://wl.awcmam.com/#/register?code=FNQwOQBM", - "permanent": false - }, - { - "source": "/yyb", - "destination": "https://www.rainyun.com/acofork_?s=bilibili", - "permanent": false - }, - { - "source": "/iku", - "destination": "https://ikuuu.de/auth/register?code=Bjou", - "permanent": false - }, - { - "source": "/donate", - "destination": "/sponsors", - "permanent": false - } - ] }