Fixed endpoint

master
Keith Irwin 2022-09-15 21:33:17 -06:00
parent 5b28ae88d5
commit 408736b75b
Signed by: ki9
GPG Key ID: DF773B3F4A88DA86
1 changed files with 1 additions and 1 deletions

View File

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