fix favicon

This commit is contained in:
Mystikfluu 2022-08-25 21:29:37 +02:00
parent dc5d564302
commit 8446bdd4b6

View File

@ -932,6 +932,11 @@ router.get("/*", async function(request, response) {
return;
}
if(originalUrl == "/favicon.ico") {
response.sendFile(dir + "/views/favicon.ico")
return
}
response.status(404).send("No file with that name found");
});