diff --git a/pageUpdater.js b/pageUpdater.js index cc747cf..ba314da 100644 --- a/pageUpdater.js +++ b/pageUpdater.js @@ -169,7 +169,7 @@ module.exports = { async function updateCommits() { var siteResponse = await (await fetch(`https://github.com/Violets-puragtory/Violets-Purgatory.dev/tree/${process.env.BRANCH || "origin"}`)).text() var commits = siteResponse.substring(0, siteResponse.indexOf("Commits")) - console.log(commits) + // commits = commits.substring(commits.lastIndexOf("") + 3, commits.lastIndexOf("")) // ^ this works for Forgejo (codeberg)