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. ')