mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-08-24 16:05:07 +03:00
Added [] for realoded coords
This commit is contained in:
parent
71b89bb67c
commit
b7434eac48
2 changed files with 2 additions and 2 deletions
|
@ -393,7 +393,7 @@ ui.updateSelfInfo = function () {
|
|||
|
||||
ui.updateCoordsInfo = function () {
|
||||
return ui.getSelfInfo().then(function (info) {
|
||||
$("coordinates").innerText = info.coords;
|
||||
$("coordinates").innerText = ''.concat('[',info.coords.join(' '),']');
|
||||
}).catch(function (error) {
|
||||
$("ipv6").innerText = error.message;
|
||||
});
|
||||
|
|
|
@ -370,7 +370,7 @@ ui.updateSelfInfo = () =>
|
|||
|
||||
ui.updateCoordsInfo = function () {
|
||||
return ui.getSelfInfo().then(function (info) {
|
||||
$("coordinates").innerText = info.coords;
|
||||
$("coordinates").innerText = ''.concat('[',info.coords.join(' '),']');
|
||||
}).catch(function (error) {
|
||||
$("ipv6").innerText = error.message;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue