Skip to content

Commit

Permalink
Update autoload.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Kimaru-bili authored Aug 11, 2023
1 parent eaf059d commit b9110e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autoload.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// live2d_path 参数建议使用绝对路径
const live2d_path = "https://cdn.jsdelivr.net/gh/kimaru-bili/live2d-widget@latest/";
const live2d_path = "https://cdn.jsdelivr.net/gh/kimaru-bili/live2d-widget@master/";
//const live2d_path = "/live2d-widget/";

// 封装异步加载资源的方法
Expand Down Expand Up @@ -35,7 +35,7 @@ if (screen.width >= 768) {
initWidget({
waifuPath: live2d_path + "waifu-tips.json",
//apiPath: "https://live2d.fghrsh.net/api/",
cdnPath: "https://cdn.jsdelivr.net/gh/kimaru-bili/live2d_api/",
cdnPath: "https://cdn.jsdelivr.net/gh/kimaru-bili/live2d_api@master/",
tools: ["hitokoto", "asteroids", "switch-model", "switch-texture", "photo", "info", "quit"]
});
});
Expand Down

0 comments on commit b9110e4

Please sign in to comment.