mirror of
https://github.com/bastienwirtz/homer.git
synced 2025-12-16 13:19:49 +01:00
Update PiHole.vue
This commit is contained in:
@@ -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));
|
||||||
|
|||||||
Reference in New Issue
Block a user