Removed logging, renamed host
parent
dc9db8c4a5
commit
1cf9034854
|
@ -1,7 +1,7 @@
|
||||||
const API_URL = 'https://wgapi-test-dashboard-backend.ksn.gf4'
|
const API_URL = 'https://wgapi-test-dashboard-backend.ksn.gf4'
|
||||||
|
|
||||||
function Peer(data) {
|
function Peer(data) {
|
||||||
this.name = ko.observable(data.name)
|
this.name = ko.observable(data.host)
|
||||||
this.pubkey = data.pubkey
|
this.pubkey = data.pubkey
|
||||||
this.ipv4 = ko.observable(data.ipv4)
|
this.ipv4 = ko.observable(data.ipv4)
|
||||||
this.ipv6 = ko.observable(`:${data.ipv6.split(':').slice(-2).join(':')}`)
|
this.ipv6 = ko.observable(`:${data.ipv6.split(':').slice(-2).join(':')}`)
|
||||||
|
|
Loading…
Reference in New Issue