mirror of https://github.com/node-red/node-red.git
Update index.js
fixed a error when run node-red with httpAdminRoot=false https://github.com/node-red/node-red/issues/2166pull/2167/head
parent
cc051544f9
commit
87a1f616b0
|
@ -46,7 +46,7 @@ var stubbedExpressApp = {
|
|||
}
|
||||
var adminApi = {
|
||||
auth: {
|
||||
needsPermission: function() {}
|
||||
needsPermission: function() {return function(req,res,next) {next()}}
|
||||
},
|
||||
adminApp: stubbedExpressApp,
|
||||
server: {}
|
||||
|
|
Loading…
Reference in New Issue