From 78eb9363d660966fb7674309fd4126fa96334c5d Mon Sep 17 00:00:00 2001 From: bingus_violet Date: Fri, 12 Jan 2024 20:54:06 +0000 Subject: [PATCH] oops again --- index.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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) }