Skip to content

Commit 2dc92de

Browse files
authored
fix(route): update zxcs domain to zxcs.click (#21768)
1 parent 6a664a8 commit 2dc92de

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/routes/zxcs/namespace.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ import type { Namespace } from '@/types';
22

33
export const namespace: Namespace = {
44
name: '知轩藏书',
5-
url: 'zxcs.info',
5+
url: 'zxcs.click',
66
lang: 'zh-CN',
77
};

lib/routes/zxcs/novel.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const types = {
2424
export const route: Route = {
2525
path: '/novel/:type',
2626
name: '小说列表',
27-
url: 'zxcs.info',
27+
url: 'zxcs.click',
2828
maintainers: ['liaochuan'],
2929
example: '/zxcs/novel/jinqigengxin',
3030
parameters: { type: '小说类型, 可在对应类型页 URL 中找到' },
@@ -42,7 +42,7 @@ export const route: Route = {
4242
},
4343
radar: [
4444
{
45-
source: ['zxcs.info/:type'],
45+
source: ['zxcs.click/:type'],
4646
target: '/novel/:type',
4747
},
4848
],
@@ -52,7 +52,7 @@ export const route: Route = {
5252
async function handler(ctx) {
5353
const { type } = ctx.req.param();
5454

55-
const baseUrl = 'https://www.zxcs.info';
55+
const baseUrl = 'https://www.zxcs.click';
5656
const link = `${baseUrl}/${type}`;
5757
const response = await ofetch(link);
5858
const $ = load(response);

0 commit comments

Comments
 (0)