Skip to content

Node.js based forum software built for the modern web

fixed apple-touch-icon for subfolder installs

Julian Lamf00f7c881853
diff --git a/src/webserver.js b/src/webserver.js
index 6c658974db..d7d7158684 100644
--- a/src/webserver.js
+++ b/src/webserver.js
@@ -248,7 +248,7 @@ process.on('uncaughtException', function(err) {
if (meta.config['brand:logo'] && validator.isURL(meta.config['brand:logo'])) {
return res.redirect(meta.config['brand:logo']);
} else {
- return res.sendfile(path.join(__dirname, '../public', meta.config['brand:logo'] || nconf.get('relative_path') + '/logo.png'), {
+ return res.sendfile(path.join(__dirname, '../public', meta.config['brand:logo'] || '/logo.png'), {
maxAge: app.enabled('cache') ? 5184000000 : 0
});
}