mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
let discovery node not flag empty service type
This commit is contained in:
parent
8604a783a4
commit
e990b47c65
@ -37,7 +37,7 @@
|
||||
defaults: {
|
||||
name: {value:""},
|
||||
topic: {value:""},
|
||||
service: {value:"",required:true,validate:RED.validators.regex(/^_.*\._(tc|ud)p$/)}
|
||||
service: {value:"",validate:RED.validators.regex(/^$|^_.*\._(tc|ud)p$/)} // (/^(\d*|)$/)
|
||||
},
|
||||
inputs:0,
|
||||
outputs:1,
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name" : "node-red-node-discovery",
|
||||
"version" : "0.0.22",
|
||||
"version" : "0.0.23",
|
||||
"description" : "A Node-RED node that uses Bonjour / Avahi to discover nearby services.",
|
||||
"dependencies" : {
|
||||
"mdns" : "^2.5.1"
|
||||
|
Loading…
x
Reference in New Issue
Block a user