]> git.immae.eu Git - github/bastienwirtz/homer.git/commitdiff
Update AdGuardHome.vue
authorColin <mcclurec@gmail.com>
Wed, 11 Aug 2021 22:35:41 +0000 (15:35 -0700)
committerGitHub <noreply@github.com>
Wed, 11 Aug 2021 22:35:41 +0000 (15:35 -0700)
src/components/services/AdGuardHome.vue

index d4a2b89119a8969e55d0fbb5d125272827ead010..bf5caa96072da7ae95eeb7bbcb1a7fc3fd7da221 100644 (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()
       );
     },