mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Merge pull request #2167 from minzojian/master
update packages\node_modules\@node-red\runtime\lib\index.js
This commit is contained in:
commit
e0111d3fe6
@ -46,7 +46,7 @@ var stubbedExpressApp = {
|
|||||||
}
|
}
|
||||||
var adminApi = {
|
var adminApi = {
|
||||||
auth: {
|
auth: {
|
||||||
needsPermission: function() {}
|
needsPermission: function() {return function(req,res,next) {next()}}
|
||||||
},
|
},
|
||||||
adminApp: stubbedExpressApp,
|
adminApp: stubbedExpressApp,
|
||||||
server: {}
|
server: {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user