Update autoload.js

This commit is contained in:
nicocatxzc 2024-07-26 20:48:40 +08:00 committed by GitHub
parent 269dde43a6
commit ec3e927150
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -45,7 +45,7 @@ if (isMobile()) {
initWidget({ initWidget({
waifuPath: live2d_path + "waifu-tips.json", waifuPath: live2d_path + "waifu-tips.json",
//apiPath: "https://live2d.fghrsh.net/api/", //apiPath: "https://live2d.fghrsh.net/api/",
cdnPath: "/live2djs/", cdnPath: "https://fastly.jsdelivr.net/gh/fghrsh/live2d_api/",
tools: ["hitokoto", "asteroids", "switch-model", "switch-texture", "photo", "info", "quit"] tools: ["hitokoto", "asteroids", "switch-model", "switch-texture", "photo", "info", "quit"]
}); });
}); });
@ -59,7 +59,7 @@ if (isMobile()) {
initWidget({ initWidget({
waifuPath: live2d_path + "waifu-tips.json", waifuPath: live2d_path + "waifu-tips.json",
//apiPath: "https://live2d.fghrsh.net/api/", //apiPath: "https://live2d.fghrsh.net/api/",
cdnPath: "/live2djs/", cdnPath: "https://fastly.jsdelivr.net/gh/fghrsh/live2d_api/",
tools: ["hitokoto", "asteroids", "switch-model", "switch-texture", "photo", "info", "quit"] tools: ["hitokoto", "asteroids", "switch-model", "switch-texture", "photo", "info", "quit"]
}); });
}); });