Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cherryymerryy committed Sep 9, 2023
1 parent c1eaf85 commit 810ce26
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions new/src/js/websiteInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,6 @@ function getWebSiteLatestVersion() {
return releaseInfo.tag_name;
}

function getWebSiteBody() {
var xmlHttp = new XMLHttpRequest();
var requestLink = "https://api.github.com/repos/Reeversee/reeversee.github.io/releases/latest";
xmlHttp.open("GET", requestLink, false);
xmlHttp.send(null);
var releaseInfo = JSON.parse(xmlHttp.responseText);
return releaseInfo.body;
}

function getBody() {
var body = getWebSiteBody();
if (body == ''){
body = ' | Changelog is not available'
}
else{
body = ' | Changelog: ' + body;
}
}

function getWebSiteAuthor() {
var xmlHttp = new XMLHttpRequest();
var requestLink = "https://api.github.com/repos/Reeversee/reeversee.github.io/releases/latest";
Expand Down

1 comment on commit 810ce26

@vercel
Copy link

@vercel vercel bot commented on 810ce26 Sep 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.