From 538356846d58f4c21ecb72fbba4947a97f381a8c Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Tue, 10 Dec 2013 21:20:54 -0500 Subject: [PATCH] fixed regression introduced by #643. Non-logo favicon is now properly referenced (absolute url, not relative) --- src/webserver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'),