more files that should be loaded for maintenanceMode to work

This commit is contained in:
Julian Lam
2015-01-18 16:52:50 -05:00
parent fe45fc967d
commit 491e0060d4

View File

@@ -452,7 +452,10 @@ middleware.maintenanceMode = function(req, res, next) {
'/nodebb.min.js',
'/vendor/fontawesome/fonts/fontawesome-webfont.woff',
'/src/modules/[\\w]+\.js',
'/api/get_templates_listing'
'/api/get_templates_listing',
'/api/login',
'/api/?',
'/language/.+'
],
render = function() {
res.status(503);