Working on this later
This commit is contained in:
parent
696ac5a4ba
commit
44a45162de
1 changed files with 5 additions and 5 deletions
10
index.js
10
index.js
|
@ -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
|
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')
|
// fetch('https://github.com/Violets-puragtory/Violets-Purgatory.dev')
|
||||||
.then(((data) => data.text()))
|
// .then(((data) => data.text()))
|
||||||
.then((text) => {
|
// .then((text) => {
|
||||||
console.log(text)
|
// console.log(text)
|
||||||
})
|
// })
|
||||||
fs.writeFileSync(path.join(__dirname, 'static/index.html'), html)
|
fs.writeFileSync(path.join(__dirname, 'static/index.html'), html)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue