docs: Fixed typo in discord route (wrong link to docs) (#12067)

This commit is contained in:
Robért 2023-03-09 01:28:39 +01:00 committed by GitHub
parent 965e652487
commit eaca7544f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ const { baseUrl, getChannel, getChannelMessages, getGuild } = require('./discord
module.exports = async (ctx) => {
if (!config.discord || !config.discord.authorization) {
throw Error('Discord RSS is disabled due to the lack of <a href="https://docsrsshub.app/en/install/#configuration-route-specific-configurations">relevant config</a>');
throw Error('Discord RSS is disabled due to the lack of <a href="https://docs.rsshub.app/en/install/#configuration-route-specific-configurations">relevant config</a>');
}
const { authorization } = config.discord;
const { channelID } = ctx.params;