Skip to content

Commit

Permalink
load js from site libs
Browse files Browse the repository at this point in the history
  • Loading branch information
qinlili23333 committed Jun 20, 2022
1 parent a16206e commit 606cce6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ <H3>去全部歌单里添加一些吧</H3>
showLoadingTip: false
}
let startTime = Date.now();
await loadScriptAsync("https://gen2.qinlili.bid/libs/hamood.min.js");
await loadScriptAsync("./lib/hamood.min.js");
let loadUseTime = Date.now() - startTime;
Hamood.init(hamoodConfig, (loadUseTime >= 500));
})();
Expand Down Expand Up @@ -726,7 +726,7 @@ <H3>去全部歌单里添加一些吧</H3>
dlHiMenu.addEventListener("click", async () => {
if (!window.ctfile) {
setStatus("加载城通网盘解析模块", true);
await loadScriptAsync("https://ctfile.qinlili.bid/ctget.js");
await loadScriptAsync("./lib/ctget.min.js");
}
setStatus("获取下载地址", true);
let fileInfo = await window.ctfile.getByID(songInfo.hi_res_id, "547873715");
Expand Down
1 change: 1 addition & 0 deletions lib/ctget.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/hamood.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 606cce6

Please sign in to comment.