Update AdGuardHome.vue

pull/258/head
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
1 changed files with 3 additions and 1 deletions

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