Update AdGuardHome.vue

This commit is contained in:
Colin 2021-08-11 15:35:41 -07:00 committed by GitHub
parent ecec695272
commit 077be43473
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()
);
},