mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
small change to udp httpadmin
as it refers to both in and pout
This commit is contained in:
parent
0a5a42b32a
commit
9cc1b03c56
@ -102,7 +102,7 @@ module.exports = function(RED) {
|
||||
try { server.bind(node.port,node.iface); }
|
||||
catch(e) { } // Don't worry if already bound
|
||||
}
|
||||
RED.httpAdmin.get('/udp-ports/:id', RED.auth.needsPermission('udp-in.read'), function(req,res) {
|
||||
RED.httpAdmin.get('/udp-ports/:id', RED.auth.needsPermission('udp-ports.read'), function(req,res) {
|
||||
res.json(Object.keys(udpInputPortsInUse));
|
||||
});
|
||||
RED.nodes.registerType("udp in",UDPin);
|
||||
|
Loading…
Reference in New Issue
Block a user