]> git.immae.eu Git - github/bastienwirtz/homer.git/blobdiff - src/components/services/PiHole.vue
Update AdGuardHome.vue
[github/bastienwirtz/homer.git] / src / components / services / PiHole.vue
index 7042a7b2a5055662e7434bead008af4036a6e934..ce0b68928afffa11aad883e342afce099b58e420 100644 (file)
@@ -64,7 +64,9 @@ export default {
   methods: {
     fetchStatus: async function () {
       const url = `${this.item.url}/api.php`;
-      this.api = await fetch(url)
+      this.api = await fetch(url{
+        credentials: 'include'
+      })
         .then((response) => response.json())
         .catch((e) => console.log(e));
     },