From 655c59d89ae1c6f03401753a879cc51366e948d7 Mon Sep 17 00:00:00 2001 From: SettingDust Date: Wed, 31 Jan 2024 13:25:07 +0800 Subject: [PATCH] fix(modrinth): correct the radar rules for working with (#14351) --- lib/v2/modrinth/radar.js | 2 +- website/docs/routes/game.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/v2/modrinth/radar.js b/lib/v2/modrinth/radar.js index d2f720166ec187..6fe3e2b8bb90ff 100644 --- a/lib/v2/modrinth/radar.js +++ b/lib/v2/modrinth/radar.js @@ -5,7 +5,7 @@ module.exports = { { title: 'Project versions', docs: 'https://docs.rsshub.app/routes/game#modrinth-project-versions', - source: ['/*/:id/*'], + source: ['/mod/:id/*', '/plugin/:id/*', '/datapack/:id/*', '/shader/:id/*', '/resourcepack/:id/*', '/modpack/:id/*'], target: '/modrinth/project/:id/versions', }, ], diff --git a/website/docs/routes/game.mdx b/website/docs/routes/game.mdx index 9d81b86b0095b2..a4838f0a1c6c0e 100644 --- a/website/docs/routes/game.mdx +++ b/website/docs/routes/game.mdx @@ -341,7 +341,7 @@ ### Project versions {#modrinth-project-versions} - + ## Nintendo {#nintendo}