Skip to content

Commit 53c514f

Browse files
authored
fix(route): namespace issue (#15327)
1 parent 3f41bde commit 53c514f

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

lib/routes/u3c3/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { load } from 'cheerio';
66
export const route: Route = {
77
path: ['/search/:keyword/:preview?', '/:type?/:preview?'],
88
categories: ['multimedia'],
9-
example: '/u9a9/search/新片速递',
9+
example: '/u3c3/search/新片速递',
1010
parameters: { keyword: 'Search keyword', preview: 'Show image preview, off by default, non empty value means on' },
1111
features: {
1212
requireConfig: false,

lib/routes/u3c3/namespace.ts

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

33
export const namespace: Namespace = {
4-
name: 'U9A9',
4+
name: 'U3C3',
55
url: 'u3c3.com',
66
};

lib/routes/u9a9/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@ const baseUrl = 'https://u9a9.com';
99

1010
export const route: Route = {
1111
path: ['/:preview?', '/search/:keyword/:preview?'],
12+
example: '/u9a9/search/新片速递',
1213
radar: [
1314
{
1415
source: ['u9a9.com/'],
1516
target: '',
1617
},
1718
],
18-
name: 'Unknown',
19+
name: 'Search',
1920
maintainers: ['TonyRL'],
2021
handler,
2122
url: 'u9a9.com/',
22-
url: 'u9a9.com/',
2323
};
2424

2525
async function handler(ctx) {

lib/routes/u9a9/namespace.ts

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

33
export const namespace: Namespace = {
4-
name: 'Unknown',
4+
name: 'U9A9',
55
url: 'u9a9.com',
66
};

0 commit comments

Comments
 (0)