From 2636d15aea710f043db74695a7b6abf789a615e3 Mon Sep 17 00:00:00 2001 From: liamcottle Date: Thu, 4 Apr 2024 20:31:21 +1300 Subject: [PATCH] share link should use current domain to work on self hosted maps --- src/public/index.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/public/index.html b/src/public/index.html index b33dbf6..9959e97 100644 --- a/src/public/index.html +++ b/src/public/index.html @@ -949,7 +949,7 @@
- +
@@ -1653,6 +1653,9 @@ getRegionFrequencyRange: function(regionName) { return window.getRegionFrequencyRange(regionName); }, + getShareLinkForNode: function(nodeId) { + return window.location.origin + `/?node_id=${nodeId}`; + } }, computed: { searchedNodes() {