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