]> git.immae.eu Git - github/bastienwirtz/homer.git/blobdiff - src/components/services/PiHole.vue
Merge pull request #271 from Sharknoon/main
[github/bastienwirtz/homer.git] / src / components / services / PiHole.vue
index 7042a7b2a5055662e7434bead008af4036a6e934..87f7090d4ad8b16f47b5a2285db872f8102074ba 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));
     },