From f75e55aa11011fe855991eeb2c7b59a21d2f9eb6 Mon Sep 17 00:00:00 2001 From: Baris Soner Usakli Date: Mon, 6 Jan 2014 23:45:31 -0500 Subject: [PATCH] fixed path --- src/webserver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webserver.js b/src/webserver.js index b1691714ba..2246a76e20 100644 --- a/src/webserver.js +++ b/src/webserver.js @@ -94,7 +94,7 @@ if(nconf.get('ssl')) { }], templateValues = { cssSrc: meta.config['theme:src'] || nconf.get('relative_path') + '/vendor/bootstrap/css/bootstrap.min.css', - pluginCSS: plugins.cssFiles.map(function(file) { return { path: '/nodebb'+file + (meta.config['cache-buster'] ? '?v=' + meta.config['cache-buster'] : '') }; }), + pluginCSS: plugins.cssFiles.map(function(file) { return { path: nconf.get('relative_path') + file + (meta.config['cache-buster'] ? '?v=' + meta.config['cache-buster'] : '') }; }), title: meta.config.title || '', description: meta.config.description || '', 'brand:logo': meta.config['brand:logo'] || '',