mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-09 15:35:47 +01:00
fixed places where site_title was being referenced in config, instead of the correct "title"
This commit is contained in:
@@ -482,7 +482,7 @@ middleware.maintenanceMode = function(req, res, next) {
|
||||
render = function() {
|
||||
middleware.buildHeader(req, res, function() {
|
||||
res.status(503).render('maintenance', {
|
||||
site_title: meta.config.site_title || 'NodeBB',
|
||||
site_title: meta.config.title || 'NodeBB',
|
||||
message: meta.config.maintenanceModeMessage
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user