diff options
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 | }; |