From c06c0cdf9bbdc98f71dadb5edcc015926ba878e4 Mon Sep 17 00:00:00 2001 From: Bastien Wirtz Date: Wed, 14 Jul 2021 12:05:53 +0200 Subject: Lint & updates --- src/components/services/AdGuardHome.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/components/services/AdGuardHome.vue') diff --git a/src/components/services/AdGuardHome.vue b/src/components/services/AdGuardHome.vue index 6ef5302..d4a2b89 100644 --- a/src/components/services/AdGuardHome.vue +++ b/src/components/services/AdGuardHome.vue @@ -51,9 +51,9 @@ export default { }, methods: { fetchStatus: async function () { - this.status = await fetch( - `${this.item.url}/control/status` - ).then((response) => response.json()); + this.status = await fetch(`${this.item.url}/control/status`).then( + (response) => response.json() + ); }, }, }; -- cgit v1.2.3 From 077be43473ebdb241c6a70e4d06795ca80a591fb Mon Sep 17 00:00:00 2001 From: Colin Date: Wed, 11 Aug 2021 15:35:41 -0700 Subject: Update AdGuardHome.vue --- src/components/services/AdGuardHome.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/components/services/AdGuardHome.vue') diff --git a/src/components/services/AdGuardHome.vue b/src/components/services/AdGuardHome.vue index d4a2b89..bf5caa9 100644 --- a/src/components/services/AdGuardHome.vue +++ b/src/components/services/AdGuardHome.vue @@ -51,7 +51,9 @@ export default { }, methods: { fetchStatus: async function () { - this.status = await fetch(`${this.item.url}/control/status`).then( + this.status = await fetch(`${this.item.url}/control/status`{ + credentials: 'include', + }).then( (response) => response.json() ); }, -- cgit v1.2.3 From 4852ae6b85d5a35dc0c94711cdae8f804d32f762 Mon Sep 17 00:00:00 2001 From: Colin Date: Wed, 11 Aug 2021 15:41:33 -0700 Subject: Update AdGuardHome.vue --- src/components/services/AdGuardHome.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/services/AdGuardHome.vue') diff --git a/src/components/services/AdGuardHome.vue b/src/components/services/AdGuardHome.vue index bf5caa9..9a3350d 100644 --- a/src/components/services/AdGuardHome.vue +++ b/src/components/services/AdGuardHome.vue @@ -52,7 +52,7 @@ export default { methods: { fetchStatus: async function () { this.status = await fetch(`${this.item.url}/control/status`{ - credentials: 'include', + credentials: "include", }).then( (response) => response.json() ); -- cgit v1.2.3 From 7efcd282bb82463968a03f0f5c4a756a0d95c09c Mon Sep 17 00:00:00 2001 From: Colin Date: Mon, 16 Aug 2021 14:16:29 -0700 Subject: Update AdGuardHome.vue --- src/components/services/AdGuardHome.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/services/AdGuardHome.vue') diff --git a/src/components/services/AdGuardHome.vue b/src/components/services/AdGuardHome.vue index 9a3350d..9238060 100644 --- a/src/components/services/AdGuardHome.vue +++ b/src/components/services/AdGuardHome.vue @@ -51,7 +51,7 @@ export default { }, methods: { fetchStatus: async function () { - this.status = await fetch(`${this.item.url}/control/status`{ + this.status = await fetch(`${this.item.url}/control/status`, { credentials: "include", }).then( (response) => response.json() -- cgit v1.2.3 From 55c3ea4d92b0c5628ead4475ae7359bbf2cc59c4 Mon Sep 17 00:00:00 2001 From: Bastien Wirtz Date: Mon, 13 Sep 2021 22:03:13 +0200 Subject: Deps updates & lint --- src/components/services/AdGuardHome.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/components/services/AdGuardHome.vue') diff --git a/src/components/services/AdGuardHome.vue b/src/components/services/AdGuardHome.vue index 9238060..19a2f7d 100644 --- a/src/components/services/AdGuardHome.vue +++ b/src/components/services/AdGuardHome.vue @@ -53,9 +53,7 @@ export default { fetchStatus: async function () { this.status = await fetch(`${this.item.url}/control/status`, { credentials: "include", - }).then( - (response) => response.json() - ); + }).then((response) => response.json()); }, }, }; -- cgit v1.2.3