fix(modrinth): correct the radar rules for working with (#14351)

This commit is contained in:
SettingDust 2024-01-31 13:25:07 +08:00 committed by GitHub
parent 0e0f7f9f06
commit 655c59d89a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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',
},
],

View File

@ -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}