Removed unnecessary main function -> getFromBooru
This commit is contained in:
parent
112f999381
commit
a0e4834213
1 changed files with 1 additions and 5 deletions
|
@ -6,14 +6,10 @@ const port = 3000;
|
|||
|
||||
app.get("/", (req, res) => {
|
||||
res.set("Cache-Control", "no-store");
|
||||
main();
|
||||
getFromBooru();
|
||||
res.sendFile("src/public/assets/waifu.png", { root: "." });
|
||||
});
|
||||
|
||||
app.listen(port, () => {
|
||||
console.log(`listening on port ${port}`);
|
||||
});
|
||||
|
||||
function main() {
|
||||
getFromBooru();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue