diff --git a/lib/routes/booru/mmda.ts b/lib/routes/booru/mmda.ts index a58b021bd4..664cc1bb26 100644 --- a/lib/routes/booru/mmda.ts +++ b/lib/routes/booru/mmda.ts @@ -21,9 +21,11 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: ['mmda.booru.org/index.php'], - }, + radar: [ + { + source: ['mmda.booru.org/index.php'], + }, + ], name: 'MMDArchive 标签查询', maintainers: ['N78Wy'], handler, diff --git a/lib/routes/modrinth/versions.ts b/lib/routes/modrinth/versions.ts index f5023665df..e7ba723c16 100644 --- a/lib/routes/modrinth/versions.ts +++ b/lib/routes/modrinth/versions.ts @@ -37,23 +37,25 @@ export const route: Route = { supportPodcast: false, supportScihub: false, }, - radar: { - source: [ - 'modrinth.com/mod/:id/*', - 'modrinth.com/plugin/:id/*', - 'modrinth.com/datapack/:id/*', - 'modrinth.com/shader/:id/*', - 'modrinth.com/resourcepack/:id/*', - 'modrinth.com/modpack/:id/*', - 'modrinth.com/mod/:id', - 'modrinth.com/plugin/:id', - 'modrinth.com/datapack/:id', - 'modrinth.com/shader/:id', - 'modrinth.com/resourcepack/:id', - 'modrinth.com/modpack/:id', - ], - target: '/project/:id/versions', - }, + radar: [ + { + source: [ + 'modrinth.com/mod/:id/*', + 'modrinth.com/plugin/:id/*', + 'modrinth.com/datapack/:id/*', + 'modrinth.com/shader/:id/*', + 'modrinth.com/resourcepack/:id/*', + 'modrinth.com/modpack/:id/*', + 'modrinth.com/mod/:id', + 'modrinth.com/plugin/:id', + 'modrinth.com/datapack/:id', + 'modrinth.com/shader/:id', + 'modrinth.com/resourcepack/:id', + 'modrinth.com/modpack/:id', + ], + target: '/project/:id/versions', + }, + ], name: 'Project versions', maintainers: ['SettingDust'], handler,