Skip to content

Commit

Permalink
西元2025年01月05日 (週日) 23時16分15秒 CST
Browse files Browse the repository at this point in the history
  • Loading branch information
pulipulichen committed Jan 5, 2025
1 parent 794f5e5 commit ad2e2b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions GitHub.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ function detectWeb(doc, url) {
return false;
}

let path = url.split('/').slice(3, 5).join('/');
return new Promise(function (resolve) {
ZU.doGet(`https://raw.githubusercontent.com/${path}/HEAD/CITATION.cff`, function (cffText, xhr) {
if (xhr.status !== 200) {
Expand Down

0 comments on commit ad2e2b6

Please sign in to comment.