Skip to content

Commit 27b3ff1

Browse files
authored
去掉 URL 多余的路径
1 parent 7e25696 commit 27b3ff1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/plugins/generate-api.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ async function generatePluginsAPI() {
6565
author: props.author || '未知作者',
6666
name: props.name || folder,
6767
description: props.desc || '',
68-
downloadUrl: `https://YunJavaPro.github.io/FkWeChat_Plugin/plugins/${folder}/${folder}.zip`,
68+
// 去掉了多余的 /${folder}/
69+
downloadUrl: `https://YunJavaPro.github.io/FkWeChat_Plugin/plugins/${folder}.zip`,
6970
version: props.version || '1.0.0',
7071
readme
7172
});

0 commit comments

Comments
 (0)