设置api版本为latest

master 1.1.0
shendongjun 2 years ago
parent 283cbaf150
commit 9b1feec240

@ -3,7 +3,7 @@
//waifu.css:看板娘的样式表。可以对看板娘的位置布局等做自定义修改 //waifu.css:看板娘的样式表。可以对看板娘的位置布局等做自定义修改
// 注意live2d_path 参数应使用绝对路径 // 注意live2d_path 参数应使用绝对路径
const live2d_path = "https://fastly.jsdelivr.net/gh/shendongjun/live2d-widget@1.0.9/"; //这个是github的cdn镜像 const live2d_path = "https://fastly.jsdelivr.net/gh/shendongjun/live2d-widget@1.1.0/"; //这个是github的cdn镜像
// const live2d_path = "https://npm.elemecdn.com/shendongjun-live2dwidget@latest/"; //这个是element镜像 // const live2d_path = "https://npm.elemecdn.com/shendongjun-live2dwidget@latest/"; //这个是element镜像
// const live2d_path = "/live2d-widget/"; // const live2d_path = "/live2d-widget/";
@ -40,9 +40,9 @@ if (screen.width >= 768) {
waifuPath: live2d_path + "waifu-tips.json", waifuPath: live2d_path + "waifu-tips.json",
// 这里是live2d的后端api设置没有api是显示不出模型的哦~ api是后端服务即已经部署过的后端服务可以通过Vercel部署自行百度即可其实挺简单cdn则是npm的cdn地址 // 这里是live2d的后端api设置没有api是显示不出模型的哦~ api是后端服务即已经部署过的后端服务可以通过Vercel部署自行百度即可其实挺简单cdn则是npm的cdn地址
// apiPath: "https://live2d.fghrsh.net/api/", // apiPath: "https://live2d.fghrsh.net/api/",
// cdnPath: "https://npm.elemecdn.com/akilar-live2dapi@latest/" cdnPath: "https://npm.elemecdn.com/akilar-live2dapi@latest/"
// cdnPath: "https://npm.elemecdn.com/akilar-live2dapi@1.0.6/" //用指定版本饿了么好像是有问题的建议用latest // cdnPath: "https://npm.elemecdn.com/akilar-live2dapi@1.0.6/" //用指定版本饿了么好像是有问题的建议用latest
cdnPath: "https://npm.elemecdn.com/shendongjun-live2dapi@latest/" // cdnPath: "https://npm.elemecdn.com/shendongjun-live2dapi@latest/"
}); });
}); });
} }

Loading…
Cancel
Save