Embed Image test?

This commit is contained in:
bingus_violet 2024-06-30 14:54:18 -05:00
parent 146d534d37
commit 87f4baf491
8 changed files with 2787 additions and 6 deletions

View file

@ -388,11 +388,12 @@ module.exports = {
res.send(data)
} else {
res.status(404).send(`
<link rel="stylesheet" href="/style.css">
<h1>404</h1>
<p>Uh oh... I think your lost? There's nothing here :P</p>
`)
// res.status(404).send(`
// <link rel="stylesheet" href="/style.css">
// <h1>404</h1>
// <p>Uh oh... I think your lost? There's nothing here :P</p>
// `)
next()
}
}
}
@ -430,6 +431,8 @@ function pregenerate() {
for (var i = 0; i < pregenFiles.length; i++) {
pregenFiles[i].html = pregenFiles[i].html.replaceAll("{PREGEN_TOTAL}", Date.now() - lastPregen)
}
module.exports.pregen = pregenFiles
}
pregenerate()