Fix ui check callback path

to close #158
pull/188/head
Dave Conway-Jones 3 years ago
parent e874fb2a87
commit be204a791e
No known key found for this signature in database
GPG Key ID: 88BA2B8A411BE9FF

@ -1,5 +1,6 @@
### Change Log for Node-RED Worldmap
- v2.21.1 - Fix ui check callback to not use .
- v2.21.0 - Let config panel select maps to show, default map and choice of overlays.
- v2.20.0 - Add support of .pbf map layers. Issue #123.
- v2.19.0 - Bump leaflet to latest. v1.7

@ -11,6 +11,7 @@ map web page for plotting "things" on.
### Updates
- v2.21.1 - Fix ui check callback to not use .
- v2.21.0 - Let config panel select maps to show, default map and choice of overlays.
- v2.20.0 - Add support of .pbf map layers. Issue 123.
- v2.19.1 - Add filter for bounds events only.

@ -1,6 +1,6 @@
{
"name": "node-red-contrib-web-worldmap",
"version": "2.21.0",
"version": "2.21.1",
"description": "A Node-RED node to provide a web page of a world map for plotting things on.",
"dependencies": {
"@turf/bezier-spline": "~6.5.0",

@ -437,7 +437,7 @@ If <i>Web Path</i> is left empty, then by default <code>⌘⇧m</code> - <code>c
}
});
$.get('/.ui-worldmap', function (data) {
$.get('/-ui-worldmap', function (data) {
if (data === "true") {
RED.nodes.registerType('ui_worldmap',{
category: 'dashboard',

@ -521,7 +521,7 @@ module.exports = function(RED) {
}
RED.nodes.registerType("worldmap-hull",WorldMapHull);
RED.httpNode.get("/.ui-worldmap", function(req, res) {
RED.httpNode.get("/-ui-worldmap", function(req, res) {
res.send(ui ? "true": "false");
});
}

Loading…
Cancel
Save