1
0
Fork 0

Removed unnecessary main function -> getFromBooru

This commit is contained in:
grumbulon 2022-04-04 21:34:45 -04:00
parent 112f999381
commit a0e4834213
1 changed files with 1 additions and 5 deletions

View File

@ -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();
}