Skip to content

Commit

Permalink
fix(route): namespace issue (#15327)
Browse files Browse the repository at this point in the history
  • Loading branch information
storytellerF authored Apr 22, 2024
1 parent 3f41bde commit 53c514f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/routes/u3c3/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { load } from 'cheerio';
export const route: Route = {
path: ['/search/:keyword/:preview?', '/:type?/:preview?'],
categories: ['multimedia'],
example: '/u9a9/search/新片速递',
example: '/u3c3/search/新片速递',
parameters: { keyword: 'Search keyword', preview: 'Show image preview, off by default, non empty value means on' },
features: {
requireConfig: false,
Expand Down
2 changes: 1 addition & 1 deletion lib/routes/u3c3/namespace.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Namespace } from '@/types';

export const namespace: Namespace = {
name: 'U9A9',
name: 'U3C3',
url: 'u3c3.com',
};
4 changes: 2 additions & 2 deletions lib/routes/u9a9/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ const baseUrl = 'https://u9a9.com';

export const route: Route = {
path: ['/:preview?', '/search/:keyword/:preview?'],
example: '/u9a9/search/新片速递',
radar: [
{
source: ['u9a9.com/'],
target: '',
},
],
name: 'Unknown',
name: 'Search',
maintainers: ['TonyRL'],
handler,
url: 'u9a9.com/',
url: 'u9a9.com/',
};

async function handler(ctx) {
Expand Down
2 changes: 1 addition & 1 deletion lib/routes/u9a9/namespace.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Namespace } from '@/types';

export const namespace: Namespace = {
name: 'Unknown',
name: 'U9A9',
url: 'u9a9.com',
};

0 comments on commit 53c514f

Please sign in to comment.