mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-29 10:06:13 +01:00
parseInt show title
This commit is contained in:
@@ -15,7 +15,7 @@ apiController.getConfig = function(req, res, next) {
|
||||
config.relative_path = serverConfig.relative_path;
|
||||
config.version = pkg.version;
|
||||
config.siteTitle = meta.config.title || meta.config.browserTitle || 'NodeBB';
|
||||
config.showSiteTitle = meta.config.showSiteTitle === '1';
|
||||
config.showSiteTitle = parseInt(meta.config.showSiteTitle, 10) === 1;
|
||||
config.postDelay = meta.config.postDelay;
|
||||
config.minimumTitleLength = meta.config.minimumTitleLength;
|
||||
config.maximumTitleLength = meta.config.maximumTitleLength;
|
||||
|
||||
Reference in New Issue
Block a user