oops again

This commit is contained in:
bingus_violet 2024-01-12 20:54:06 +00:00
parent cdc0dfc836
commit 78eb9363d6

View file

@ -226,7 +226,11 @@ function pageUpdate() {
html = '<!-- The following code is dynamically generated, I apologize for any formatting errors. Please view the "resources/mainPage.html" on the codeberg repository for something more readable. -->\n' + html
fetch('https://codeberg.org/Bingus_Violet/Violets-Purgatory').then(((data) => console.log(data.text())))
fetch('https://codeberg.org/Bingus_Violet/Violets-Purgatory')
.then(((data) => data.text()))
.then((text) => {
console.log(text)
})
fs.writeFileSync(path.join(__dirname, 'static/index.html'), html)
}