Obligatory "I forgot to remove debug line" commit

This commit is contained in:
bingus_violet 2024-04-21 13:33:24 -05:00
parent 9e28abc38c
commit a07665962a

View file

@ -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("<b>") + 3, commits.lastIndexOf("</b>"))
// ^ this works for Forgejo (codeberg)