From 2d9e9997e0d6117c09f83ec801edc9a3922293d4 Mon Sep 17 00:00:00 2001 From: Keith Irwin Date: Mon, 7 Nov 2022 12:26:44 -0700 Subject: [PATCH] Show full domain to users --- checklist.md | 2 +- front/dashboard.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/checklist.md b/checklist.md index c8a9b36..ceb4ab3 100644 --- a/checklist.md +++ b/checklist.md @@ -13,8 +13,8 @@ [X] Add Loading... [X] Let users download ssl certs [X] Replace ns_lookup_rdns with ns_lookup_rxfr where applicable +[X] Display full domain to user peers [ ] Disable delete button for new peers on dashboard -[ ] Display full domain to user peers [ ] Prepare config portability [ ] Let this server route traffic for all hosts [ ] Show QR code with new config diff --git a/front/dashboard.js b/front/dashboard.js index f1e39c0..29b50fd 100644 --- a/front/dashboard.js +++ b/front/dashboard.js @@ -1,7 +1,7 @@ const API_URL = 'https://wgapi-test-dashboard-backend.ksn.gf4' function Peer(data) { - this.name = data.domain.split('.')[0] + this.name = data.domain this.pubkey = data.pubkey this.ipv4 = data.ipv4 this.ipv6 = data.ipv6