X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2Fcomponents%2Fservices%2FAdGuardHome.vue;h=bf5caa96072da7ae95eeb7bbcb1a7fc3fd7da221;hb=077be43473ebdb241c6a70e4d06795ca80a591fb;hp=9c6eb34f550f1b937b9c671f59a9600dfdd87b1b;hpb=12063dafef3d9028345801c7b17c1dabcc1113b0;p=github%2Fbastienwirtz%2Fhomer.git diff --git a/src/components/services/AdGuardHome.vue b/src/components/services/AdGuardHome.vue index 9c6eb34..bf5caa9 100644 --- a/src/components/services/AdGuardHome.vue +++ b/src/components/services/AdGuardHome.vue @@ -11,7 +11,7 @@
- +
@@ -51,9 +51,11 @@ export default { }, methods: { fetchStatus: async function () { - this.status = await fetch( - `${this.item.url}/control/status` - ).then((response) => response.json()); + this.status = await fetch(`${this.item.url}/control/status`{ + credentials: 'include', + }).then( + (response) => response.json() + ); }, }, };