diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2021-07-14 12:05:53 +0200 |
---|---|---|
committer | Bastien Wirtz <bastien.wirtz@gmail.com> | 2021-07-14 12:05:53 +0200 |
commit | c06c0cdf9bbdc98f71dadb5edcc015926ba878e4 (patch) | |
tree | 68a50b1f1d557130fc9b0af22267c9857f64db97 /src/components/services/AdGuardHome.vue | |
parent | f9cc1d27cc295498cc04b6965b88a366da7122e5 (diff) | |
download | homer-c06c0cdf9bbdc98f71dadb5edcc015926ba878e4.tar.gz homer-c06c0cdf9bbdc98f71dadb5edcc015926ba878e4.tar.zst homer-c06c0cdf9bbdc98f71dadb5edcc015926ba878e4.zip |
Lint & updates
Diffstat (limited to 'src/components/services/AdGuardHome.vue')
-rw-r--r-- | src/components/services/AdGuardHome.vue | 6 |
1 files changed, 3 insertions, 3 deletions
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 { | |||
51 | }, | 51 | }, |
52 | methods: { | 52 | methods: { |
53 | fetchStatus: async function () { | 53 | fetchStatus: async function () { |
54 | this.status = await fetch( | 54 | this.status = await fetch(`${this.item.url}/control/status`).then( |
55 | `${this.item.url}/control/status` | 55 | (response) => response.json() |
56 | ).then((response) => response.json()); | 56 | ); |
57 | }, | 57 | }, |
58 | }, | 58 | }, |
59 | }; | 59 | }; |