mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-06 12:31:33 +01:00
more files that should be loaded for maintenanceMode to work
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user