diff --git a/CHANGELOG.md b/CHANGELOG.md
index 091a005..646a85e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,6 @@
### Change Log for Node-RED Worldmap
+ - v2.1.3 - Fix web page file path error
- v2.1.2 - Fix layercontrol remove bug. Issue #116
- v2.1.1 - fix bug in repeated add with polygon
- v2.1.0 - add ui-worldmap node to make embedding in Dashboard easier. Let -in node specify connection actions only.
diff --git a/README.md b/README.md
index e9700d0..29b2614 100644
--- a/README.md
+++ b/README.md
@@ -7,6 +7,7 @@ map web page for plotting "things" on.
### Updates
+- v2.1.3 - Fix web page file path error
- v2.1.2 - Fix layercontrol remove bug. Issue #116
- v2.1.1 - fix bug in repeated add with polygon
- v2.1.0 - add ui-worldmap node to make embedding in Dashboard easier. Let -in node specify connection actions only.
@@ -36,8 +37,7 @@ see [CHANGELOG](https://github.com/dceejay/RedMap/blob/master/CHANGELOG.md) for
Either use the Manage Palette option in the Node-RED Editor menu, or run the following command in your Node-RED user directory - typically `~/.node-red`
- npm i --save node-red-contrib-web-worldmap
-
+ npm i node-red-contrib-web-worldmap
## Usage
diff --git a/package.json b/package.json
index 97d1484..ebf9f19 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "node-red-contrib-web-worldmap",
- "version": "2.1.2",
+ "version": "2.1.3",
"description": "A Node-RED node to provide a web page of a world map for plotting things on.",
"dependencies": {
"cgi": "0.3.1",
diff --git a/worldmap.html b/worldmap.html
index f636cf5..65b11ac 100644
--- a/worldmap.html
+++ b/worldmap.html
@@ -408,7 +408,7 @@ then by default ⌘⇧m
- ctrl-shift-m
will load the m
return this.name?"node_label_italic":"";
},
info: function() {
- return 'The map can also be found [here]('+RED.settings.httpNodeRoot.slice(0,-1)+this.path+').';
+ return 'The map can be found [here]('+RED.settings.httpNodeRoot.slice(0,-1)+this.path+').';
},
oneditprepare: function() {
$("#node-input-size").elementSizer({
diff --git a/worldmap.js b/worldmap.js
index 8a685b4..df2ac15 100644
--- a/worldmap.js
+++ b/worldmap.js
@@ -43,7 +43,7 @@ module.exports = function(RED) {
node.coords = n.coords || "none";
node.showgrid = n.showgrid || "false";
node.path = n.path || "/worldmap";
- if (node.path.charAt(0) != "/") { noed.path = "/" + node.path; }
+ if (node.path.charAt(0) != "/") { node.path = "/" + node.path; }
if (!sockets[node.path]) {
var libPath = path.posix.join(RED.settings.httpNodeRoot, node.path, 'leaflet', 'sockjs.min.js');
var sockPath = path.posix.join(RED.settings.httpNodeRoot,node.path,'socket');