fix websocket multiple connections
This commit is contained in:
parent
256e8076f5
commit
37f4d61d02
@ -7,6 +7,7 @@ map web page for plotting "things" on.
|
||||
![Map Image](https://dceejay.github.io/pages/images/redmap.png)
|
||||
|
||||
### Changes
|
||||
- v1.1.11 - fix websocket multiple connections
|
||||
- v1.1.9 - add ability to add geoJSON layers
|
||||
- v1.1.8 - add videoUrl property to allow mp4 insert in popup
|
||||
- v1.1.7 - extend path correctly - Issue #28
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "node-red-contrib-web-worldmap",
|
||||
"version": "1.1.9",
|
||||
"version": "1.1.11",
|
||||
"description": "A Node-RED node to provide a web page of a world map for plotting things on.",
|
||||
"dependencies": {
|
||||
"express": "^4.16.2",
|
||||
|
@ -82,6 +82,7 @@ module.exports = function(RED) {
|
||||
clients[c].end();
|
||||
}
|
||||
}
|
||||
socket.removeListener('connection', callback);
|
||||
node.status({});
|
||||
});
|
||||
socket.on('connection', callback);
|
||||
@ -120,6 +121,7 @@ module.exports = function(RED) {
|
||||
clients[c].end();
|
||||
}
|
||||
}
|
||||
socket.removeListener('connection', callback);
|
||||
node.status({});
|
||||
});
|
||||
socket.on('connection', callback);
|
||||
|
Loading…
Reference in New Issue
Block a user