diff --git a/node-red-node-wot/plugin-resources-src/node-wot-plugin-lib.ts b/node-red-node-wot/plugin-resources-src/node-wot-plugin-lib.ts index a330320..b2ed491 100644 --- a/node-red-node-wot/plugin-resources-src/node-wot-plugin-lib.ts +++ b/node-red-node-wot/plugin-resources-src/node-wot-plugin-lib.ts @@ -324,7 +324,7 @@ function checkBinding(tdStr: string, binding: string) { const bindings = Object.keys(detectProtocolSchemes(tdStr)) - return bindings.some(b => b === binding || b === binding + 's'); + return bindings.some(b => b === binding || b === binding + 's') } const THING_COMMON_TEMP = `[ diff --git a/node-red-node-wot/plugin/node-wot-plugin.html b/node-red-node-wot/plugin/node-wot-plugin.html index 26ac3ca..170c223 100644 --- a/node-red-node-wot/plugin/node-wot-plugin.html +++ b/node-red-node-wot/plugin/node-wot-plugin.html @@ -1,4 +1,5 @@ - + +