X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2Fcomponents%2Fservices%2FPiHole.vue;h=ca87f9dc63c7b939c009e547d1013a733f5b0357;hb=2f6d9e1b0910b5fb219ebd5078dbf940ed16f619;hp=a9fd369c2a87ba30bc048f352aeab276f4dac187;hpb=16a86df3e4d03ae38a8c30c1235d079a1756e866;p=github%2Fbastienwirtz%2Fhomer.git diff --git a/src/components/services/PiHole.vue b/src/components/services/PiHole.vue index a9fd369..ca87f9d 100644 --- a/src/components/services/PiHole.vue +++ b/src/components/services/PiHole.vue @@ -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)); }, @@ -83,13 +85,13 @@ export default { &.enabled:before { background-color: #94e185; border-color: #78d965; - box-shadow: 0 0 4px 1px #94e185; + box-shadow: 0 0 5px 1px #94e185; } &.disabled:before { background-color: #c9404d; border-color: #c42c3b; - box-shadow: 0 0 4px 1px #c9404d; + box-shadow: 0 0 5px 1px #c9404d; } &:before {