Skip to content

Commit

Permalink
fix(modrinth): correct the radar rules for working with (#14351)
Browse files Browse the repository at this point in the history
  • Loading branch information
SettingDust authored Jan 31, 2024
1 parent 0e0f7f9 commit 655c59d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/v2/modrinth/radar.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
],
Expand Down
2 changes: 1 addition & 1 deletion website/docs/routes/game.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@

### Project versions {#modrinth-project-versions}

<Route author="SettingDust" example="/modrinth/sodium/versions" path="/modrinth/:id/versions" paramsDesc={['Id or slug of the Modrinth project']} />
<Route author="SettingDust" example="/modrinth/sodium/versions" path="/modrinth/:id/versions" paramsDesc={['Id or slug of the Modrinth project']} radar="1" />

## Nintendo {#nintendo}

Expand Down

0 comments on commit 655c59d

Please sign in to comment.