Node.js based forum software built for the modern web
too busy check on prod
barisusakli016aef171649
diff --git a/src/middleware/middleware.js b/src/middleware/middleware.jsindex 89416cd929..9cc9d2d523 100644--- a/src/middleware/middleware.js+++ b/src/middleware/middleware.js@@ -221,7 +221,7 @@ middleware.privateUploads = function(req, res, next) {};middleware.busyCheck = function(req, res, next) {- if (toobusy()) {+ if (global.env === 'production' && toobusy()) {res.type('text/html').sendFile(path.join(__dirname, '../../public/503.html'));} else {next();