From 199d4febfc745ab42dcda61860a21289df98dc2f Mon Sep 17 00:00:00 2001 From: xbpk3t Date: Wed, 23 Oct 2024 10:41:54 +0800 Subject: [PATCH] fix(route): update 69shuba url (#17256) --- lib/routes/69shu/article.ts | 6 +++--- lib/routes/69shu/namespace.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/routes/69shu/article.ts b/lib/routes/69shu/article.ts index 26c63fdb6..4371e35dc 100644 --- a/lib/routes/69shu/article.ts +++ b/lib/routes/69shu/article.ts @@ -6,7 +6,7 @@ import type { Route, DataItem } from '@/types'; export const route: Route = { path: '/article/:id', name: '章节', - url: 'www.69shuba.pro', + url: 'www.69shuba.cx', maintainers: ['eternasuno'], example: '/69shu/article/47117', parameters: { id: '小说 id, 可在对应小说页 URL 中找到' }, @@ -21,13 +21,13 @@ export const route: Route = { }, radar: [ { - source: ['www.69shuba.pro/book/:id.htm'], + source: ['www.69shuba.cx/book/:id.htm'], target: '/article/:id', }, ], handler: async (ctx) => { const { id } = ctx.req.param(); - const link = `https://www.69shuba.pro/book/${id}.htm`; + const link = `https://www.69shuba.cx/book/${id}.htm`; const $ = load(await get(link)); const item = await Promise.all( diff --git a/lib/routes/69shu/namespace.ts b/lib/routes/69shu/namespace.ts index e02b40b52..df36fa4cd 100644 --- a/lib/routes/69shu/namespace.ts +++ b/lib/routes/69shu/namespace.ts @@ -2,5 +2,5 @@ import type { Namespace } from '@/types'; export const namespace: Namespace = { name: '69书吧', - url: '69shuba.pro', + url: '69shuba.cx', };