fix bug when not logged in

This commit is contained in:
Mystikfluu
2022-08-26 14:15:15 +02:00
parent ce2a1fb19e
commit 1a142c581b
2 changed files with 11 additions and 2 deletions
+6 -1
View File
@@ -927,7 +927,12 @@ router.get("/*", async function(request, response) {
} catch(ignored){
console.log(2,"error minifying",originalUrl);
}
response.send(str)
try {
response.send(str)
} catch(err) {
console.error(err)
}
})
return;
}