Skip to content

Commit f2fc724

Browse files
committed
fix: update tutorial links to use the correct path format
1 parent 460acf4 commit f2fc724

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

dashboard/src/utils/platformUtils.js

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -46,22 +46,22 @@ export function getPlatformIcon(name) {
4646
*/
4747
export function getTutorialLink(platformType) {
4848
const tutorialMap = {
49-
"qq_official_webhook": "https://docs.astrbot.app/deploy/platform/qqofficial/webhook.html",
50-
"qq_official": "https://docs.astrbot.app/deploy/platform/qqofficial/websockets.html",
51-
"aiocqhttp": "https://docs.astrbot.app/deploy/platform/aiocqhttp/napcat.html",
52-
"wecom": "https://docs.astrbot.app/deploy/platform/wecom.html",
53-
"wecom_ai_bot": "https://docs.astrbot.app/deploy/platform/wecom_ai_bot.html",
54-
"lark": "https://docs.astrbot.app/deploy/platform/lark.html",
55-
"telegram": "https://docs.astrbot.app/deploy/platform/telegram.html",
56-
"dingtalk": "https://docs.astrbot.app/deploy/platform/dingtalk.html",
57-
"weixin_official_account": "https://docs.astrbot.app/deploy/platform/weixin-official-account.html",
58-
"discord": "https://docs.astrbot.app/deploy/platform/discord.html",
59-
"slack": "https://docs.astrbot.app/deploy/platform/slack.html",
60-
"kook": "https://docs.astrbot.app/deploy/platform/kook.html",
61-
"vocechat": "https://docs.astrbot.app/deploy/platform/vocechat.html",
62-
"satori": "https://docs.astrbot.app/deploy/platform/satori/llonebot.html",
63-
"misskey": "https://docs.astrbot.app/deploy/platform/misskey.html",
64-
"line": "https://docs.astrbot.app/deploy/platform/line.html",
49+
"qq_official_webhook": "https://docs.astrbot.app/platform/qqofficial/webhook.html",
50+
"qq_official": "https://docs.astrbot.app/platform/qqofficial/websockets.html",
51+
"aiocqhttp": "https://docs.astrbot.app/platform/aiocqhttp/napcat.html",
52+
"wecom": "https://docs.astrbot.app/platform/wecom.html",
53+
"wecom_ai_bot": "https://docs.astrbot.app/platform/wecom_ai_bot.html",
54+
"lark": "https://docs.astrbot.app/platform/lark.html",
55+
"telegram": "https://docs.astrbot.app/platform/telegram.html",
56+
"dingtalk": "https://docs.astrbot.app/platform/dingtalk.html",
57+
"weixin_official_account": "https://docs.astrbot.app/platform/weixin-official-account.html",
58+
"discord": "https://docs.astrbot.app/platform/discord.html",
59+
"slack": "https://docs.astrbot.app/platform/slack.html",
60+
"kook": "https://docs.astrbot.app/platform/kook.html",
61+
"vocechat": "https://docs.astrbot.app/platform/vocechat.html",
62+
"satori": "https://docs.astrbot.app/platform/satori/llonebot.html",
63+
"misskey": "https://docs.astrbot.app/platform/misskey.html",
64+
"line": "https://docs.astrbot.app/platform/line.html",
6565
}
6666
return tutorialMap[platformType] || "https://docs.astrbot.app";
6767
}

0 commit comments

Comments
 (0)