aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/components/services/PiHole.vue
diff options
context:
space:
mode:
authorColin <mcclurec@gmail.com>2021-08-16 14:17:15 -0700
committerGitHub <noreply@github.com>2021-08-16 14:17:15 -0700
commitbbe7149d5814efc1d97613af107b12ba8f8a1c22 (patch)
treeb5d79dba6846b630482739dd7ca49598ced80892 /src/components/services/PiHole.vue
parent7efcd282bb82463968a03f0f5c4a756a0d95c09c (diff)
downloadhomer-bbe7149d5814efc1d97613af107b12ba8f8a1c22.tar.gz
homer-bbe7149d5814efc1d97613af107b12ba8f8a1c22.tar.zst
homer-bbe7149d5814efc1d97613af107b12ba8f8a1c22.zip
Update PiHole.vue
Diffstat (limited to 'src/components/services/PiHole.vue')
-rw-r--r--src/components/services/PiHole.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/services/PiHole.vue b/src/components/services/PiHole.vue
index ca87f9d..87f7090 100644
--- a/src/components/services/PiHole.vue
+++ b/src/components/services/PiHole.vue
@@ -64,7 +64,7 @@ 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", 68 credentials: "include",
69 }) 69 })
70 .then((response) => response.json()) 70 .then((response) => response.json())