aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/components/services/PiHole.vue
diff options
context:
space:
mode:
authorRobin Schneider <45321827+robinschneider@users.noreply.github.com>2021-10-07 00:15:26 +0200
committerGitHub <noreply@github.com>2021-10-07 00:15:26 +0200
commit270e522e0ee2bb9bef795251796abbfc74efbef3 (patch)
treec8a22126b6393b48b6c3bd0365befd6fd695faaf /src/components/services/PiHole.vue
parent584f2b4b32e69865d9561f1537142791710f676d (diff)
parent220c60cba04e86e782e9610aa8ef0d77e221072c (diff)
downloadhomer-270e522e0ee2bb9bef795251796abbfc74efbef3.tar.gz
homer-270e522e0ee2bb9bef795251796abbfc74efbef3.tar.zst
homer-270e522e0ee2bb9bef795251796abbfc74efbef3.zip
Merge branch 'bastienwirtz:main' into hotkey
Diffstat (limited to 'src/components/services/PiHole.vue')
-rw-r--r--src/components/services/PiHole.vue4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/services/PiHole.vue b/src/components/services/PiHole.vue
index 7042a7b..87f7090 100644
--- a/src/components/services/PiHole.vue
+++ b/src/components/services/PiHole.vue
@@ -64,7 +64,9 @@ export default {
64 methods: { 64 methods: {
65 fetchStatus: async function () { 65 fetchStatus: async function () {
66 const url = `${this.item.url}/api.php`; 66 const url = `${this.item.url}/api.php`;
67 this.api = await fetch(url) 67 this.api = await fetch(url, {
68 credentials: "include",
69 })
68 .then((response) => response.json()) 70 .then((response) => response.json())
69 .catch((e) => console.log(e)); 71 .catch((e) => console.log(e));
70 }, 72 },