diff --git a/index.js b/index.js index 7933dba..24d6e50 100644 --- a/index.js +++ b/index.js @@ -226,7 +226,11 @@ function pageUpdate() { html = '\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) }