Obligatory "I forgot to remove debug line" commit
This commit is contained in:
parent
9e28abc38c
commit
a07665962a
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ module.exports = {
|
||||||
async function updateCommits() {
|
async function updateCommits() {
|
||||||
var siteResponse = await (await fetch(`https://github.com/Violets-puragtory/Violets-Purgatory.dev/tree/${process.env.BRANCH || "origin"}`)).text()
|
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"))
|
var commits = siteResponse.substring(0, siteResponse.indexOf("Commits"))
|
||||||
console.log(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 (codeberg)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue