Fixed tests.

This commit is contained in:
SamTV12345 2024-01-20 23:10:52 +01:00
parent 29c81e3edf
commit de798ca058

View file

@ -46,7 +46,7 @@ exports.expressPreSession = async (hookName, {app}) => {
/*
If this is a url we simply redirect to that one.
*/
if (settings.favicon.startsWith('http')) {
if (settings.favicon && settings.favicon.startsWith('http')) {
res.redirect(settings.favicon);
res.send();
return;