fix favicon
This commit is contained in:
parent
dc5d564302
commit
8446bdd4b6
@ -932,6 +932,11 @@ router.get("/*", async function(request, response) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(originalUrl == "/favicon.ico") {
|
||||||
|
response.sendFile(dir + "/views/favicon.ico")
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
response.status(404).send("No file with that name found");
|
response.status(404).send("No file with that name found");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user