favicon fix

This commit is contained in:
2023-10-03 22:56:52 +05:00
parent 0cb486d61f
commit 08717e4583
2 changed files with 6 additions and 4 deletions

View File

@ -431,6 +431,9 @@ app.get("/temp", (req,res) =>{try{
app.get("/htc/:hex",(req,res) =>{
res.send(CssFilterConverter.hexToFilter(`#${req.params["hex"]}`));
})
app.get("/favicon.ico",(req,res) =>{
res.redirect("public/img/Умничка лого с обводкой-02 1.png")
})
app.post("/color",(req,res) =>{
let inp = req.body;
func.img_recolor(res,inp["img"],inp["hex"]);