Fixed endpoint
parent
5b28ae88d5
commit
408736b75b
|
@ -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. ')
|
||||
|
|
Loading…
Reference in New Issue