mirror of https://github.com/bastienwirtz/homer
Update PiHole.vue
parent
7efcd282bb
commit
bbe7149d58
|
@ -64,7 +64,7 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
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())
|
||||||
|
|
Loading…
Reference in New Issue