docs: fix ftchinese

This commit is contained in:
Tony
2024-05-28 04:26:05 +00:00
parent 363bcf329d
commit 6e71b1a101
+3 -3
View File
@@ -4,7 +4,7 @@ import utils from './utils';
export const route: Route = {
path: '/:language/:channel?',
categories: ['traditional-media'],
example: '/ft/simplified/hotstoryby7day',
example: '/ftchinese/simplified/hotstoryby7day',
parameters: { language: '语言,简体 `simplified`,繁体 `traditional`', channel: '频道,缺省为每日更新' },
features: {
requireConfig: false,
@@ -25,8 +25,8 @@ export const route: Route = {
支持所有频道,频道名称见 [官方频道 RSS](http://www.ftchinese.com/channel/rss.html).
- 频道为单一路径,如 \`http://www.ftchinese.com/rss/news\` 则为 \`/ft/simplified/news\`.
- 频道包含多重路径,如 \`http://www.ftchinese.com/rss/column/007000002\` 则替换 \`/\`\`-\` \`/ft/simplified/column-007000002\`.`,
- 频道为单一路径,如 \`http://www.ftchinese.com/rss/news\` 则为 \`/ftchinese/simplified/news\`.
- 频道包含多重路径,如 \`http://www.ftchinese.com/rss/column/007000002\` 则替换 \`/\`\`-\` \`/ftchinese/simplified/column-007000002\`.`,
};
async function handler(ctx) {