This commit is contained in:
bingus_violet 2024-01-12 20:51:00 +00:00
parent 8a3a80eefd
commit cdc0dfc836

View file

@ -226,7 +226,7 @@ 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 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
console.log(fetch('https://codeberg.org/Bingus_Violet/Violets-Purgatory')) fetch('https://codeberg.org/Bingus_Violet/Violets-Purgatory').then(((data) => console.log(data.text())))
fs.writeFileSync(path.join(__dirname, 'static/index.html'), html) fs.writeFileSync(path.join(__dirname, 'static/index.html'), html)
} }