@ -49,7 +49,7 @@
"nodebb-rewards-essentials": "0.0.6",
"nodebb-theme-lavender": "3.0.1",
"nodebb-theme-persona": "4.0.38",
"nodebb-theme-vanilla": "5.0.14",
"nodebb-theme-vanilla": "5.0.15",
"nodebb-widget-essentials": "2.0.5",
"nodemailer": "0.7.1",
"npm": "^2.1.4",
@ -115,7 +115,7 @@ $('document').ready(function() {
$.post('/launch', function() {
setInterval(function() {
$.get('/admin', function(data) {
$.get('/admin').done(function(data) {
window.location = 'admin';
});
}, 750);
@ -222,7 +222,7 @@ middleware.privateUploads = function(req, res, next) {
middleware.busyCheck = function(req, res, next) {
if (global.env === 'production' && (!meta.config.hasOwnProperty('eventLoopCheckEnabled') || parseInt(meta.config.eventLoopCheckEnabled, 10) === 1) && toobusy()) {
res.type('text/html').sendFile(path.join(__dirname, '../../public/503.html'));
res.status(503).type('text/html').sendFile(path.join(__dirname, '../../public/503.html'));
} else {
next();
}