From a4f1df83f89b55ebb547ce50003f7fc69d1b5d52 Mon Sep 17 00:00:00 2001 From: Mimi <1119186082@qq.com> Date: Mon, 10 Feb 2020 22:20:54 +0800 Subject: [PATCH] Update CDN URL --- README.md | 4 ++-- autoload.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f2db202..1109f0a 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ Font Awesome 4.7.0 is required for this plugin. You can add this to ``: 将这一行代码加入 `` 或 ``,即可展现出效果: ```xml - + ``` 如果网站启用了 PJAX,由于看板娘不必每页刷新,因此要注意将相关脚本放到 PJAX 刷新区域之外。 @@ -55,7 +55,7 @@ Font Awesome 4.7.0 is required for this plugin. You can add this to ``: 要自定义有关内容,可以把这个仓库 Fork 一份,然后进行修改。这时,使用方法对应地变为 ```xml - + ``` 将 `username` 替换为你的 GitHub 用户名即可。 diff --git a/autoload.js b/autoload.js index b07abc6..f62eaa1 100644 --- a/autoload.js +++ b/autoload.js @@ -1,5 +1,5 @@ // 注意:live2d_path 参数应使用绝对路径 -const live2d_path = "https://cdn.jsdelivr.net/gh/stevenjoezhang/live2d-widget/"; +const live2d_path = "https://cdn.jsdelivr.net/gh/stevenjoezhang/live2d-widget@latest/"; //const live2d_path = "/live2d-widget/"; // 封装异步加载资源的方法