Be more specific
This commit is contained in:
parent
166d7eddc8
commit
4805c1ba48
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ async function updateCommits() {
|
||||||
var commits = siteResponse.substring(0, siteResponse.indexOf("Commits"))
|
var commits = siteResponse.substring(0, siteResponse.indexOf("Commits"))
|
||||||
|
|
||||||
commits = commits.substring(commits.lastIndexOf("<b>") + 3, commits.lastIndexOf("</b>"))
|
commits = commits.substring(commits.lastIndexOf("<b>") + 3, commits.lastIndexOf("</b>"))
|
||||||
// ^ this works for Forgejo (codeberg)
|
// ^ this works for Forgejo (basically everything i use that isnt Github E.G. Codeberg)
|
||||||
|
|
||||||
// commits = commits.substring(commits.lastIndexOf(">") + 1)
|
// commits = commits.substring(commits.lastIndexOf(">") + 1)
|
||||||
// ^ This works for Github (fuck you Github)
|
// ^ This works for Github (fuck you Github)
|
||||||
|
|
Loading…
Reference in a new issue