From 408736b75b9315445b6b183559b19c9523ed604d Mon Sep 17 00:00:00 2001 From: Keith Irwin Date: Thu, 15 Sep 2022 21:33:17 -0600 Subject: [PATCH] Fixed endpoint --- front/admin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/admin.js b/front/admin.js index c434bd2..6232055 100644 --- a/front/admin.js +++ b/front/admin.js @@ -20,7 +20,7 @@ function PeerList() { // Initial loading self.getUser = async () => { let res; try { - res = await fetch(`${API_URL}/`) + res = await fetch(`${API_URL}/peer/`) } catch (err) { if (err) console.error(err) alert('Failed to contact API and load peers list. Check your wireguard connection. ')