mirror of
https://github.com/bastienwirtz/homer.git
synced 2025-06-20 17:57:53 +02:00
Update PiHole.vue
This commit is contained in:
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…
x
Reference in New Issue
Block a user