Skip to content

Node.js based forum software built for the modern web

fixed regression introduced by #643. Non-logo favicon is now properly referenced (absolute url, not relative)

Julian Lam538356846d58
diff --git a/src/webserver.js b/src/webserver.js
index 9ed1323ba8..03af6b98e5 100644
--- a/src/webserver.js
+++ b/src/webserver.js
@@ -90,7 +90,7 @@ var path = require('path'),
description: meta.config.description || '',
'brand:logo': meta.config['brand:logo'] || '',
'brand:logo:display': meta.config['brand:logo']?'':'hide',
- 'brand:favicon': meta.config['brand:favicon'] || nconf.get('relative_path') + 'favicon.ico',
+ 'brand:favicon': meta.config['brand:favicon'] || nconf.get('relative_path') + '/favicon.ico',
browserTitle: meta.config.title || 'NodeBB',
csrf: options.res.locals.csrf_token,
relative_path: nconf.get('relative_path'),