Working on this later

This commit is contained in:
bingus_violet 2024-01-12 21:01:34 +00:00
parent 696ac5a4ba
commit 44a45162de

View file

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