mirror of https://github.com/bastienwirtz/homer
Update PiHole.vue
parent
76a46c3507
commit
0dc3cea15e
|
@ -65,7 +65,7 @@ export default {
|
||||||
fetchStatus: async function () {
|
fetchStatus: async function () {
|
||||||
const url = `${this.item.url}/api.php`;
|
const url = `${this.item.url}/api.php`;
|
||||||
this.api = await fetch(url{
|
this.api = await fetch(url{
|
||||||
credentials: 'include'
|
credentials: "include",
|
||||||
})
|
})
|
||||||
.then((response) => response.json())
|
.then((response) => response.json())
|
||||||
.catch((e) => console.log(e));
|
.catch((e) => console.log(e));
|
||||||
|
|
Loading…
Reference in New Issue