X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2Fcomponents%2Fservices%2FAdGuardHome.vue;h=9238060973c4b326b0d6b3f91ac908b9781d42ed;hb=bbe7149d5814efc1d97613af107b12ba8f8a1c22;hp=d4a2b89119a8969e55d0fbb5d125272827ead010;hpb=c06c0cdf9bbdc98f71dadb5edcc015926ba878e4;p=github%2Fbastienwirtz%2Fhomer.git diff --git a/src/components/services/AdGuardHome.vue b/src/components/services/AdGuardHome.vue index d4a2b89..9238060 100644 --- a/src/components/services/AdGuardHome.vue +++ b/src/components/services/AdGuardHome.vue @@ -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() ); },