Skip to content

Node.js based forum software built for the modern web

Merge branch 'WindowsFix' of github.com:BitBangersCode/NodeBB into BitBangersCode-WindowsFix

Julian Lame1a9fe9691cb
diff --cc src/webserver.js
index c2bdb58bf8,e37208e157..ff28b203c6
--- a/src/webserver.js
+++ b/src/webserver.js
@@@ -94,8 -94,8 +94,8 @@@ if(nconf.get('ssl'))
href: meta.config['brand:logo'] || nconf.get('relative_path') + '/logo.png'
}],
templateValues = {
- cssSrc: meta.config['theme:src'] || nconf.get('relative_path') + '/vendor/bootstrap/css/bootstrap.min.css',
+ bootswatchCSS: meta.config['theme:src'],
- pluginCSS: plugins.cssFiles.map(function(file) { return { path: nconf.get('relative_path') + file + (meta.config['cache-buster'] ? '?v=' + meta.config['cache-buster'] : '') }; }),
+ pluginCSS: plugins.cssFiles.map(function(file) { return { path: nconf.get('relative_path') + file.replace(/\\/g, '/') + (meta.config['cache-buster'] ? '?v=' + meta.config['cache-buster'] : '') }; }),
title: meta.config.title || '',
description: meta.config.description || '',
'brand:logo': meta.config['brand:logo'] || '',