From: Colin Date: Wed, 11 Aug 2021 22:38:24 +0000 (-0700) Subject: Update Ping.vue X-Git-Tag: v21.09.1~4^2~5 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=76a46c3507b5c0daef7edcb165e949dea4968e2f;p=github%2Fbastienwirtz%2Fhomer.git Update Ping.vue --- diff --git a/src/components/services/Ping.vue b/src/components/services/Ping.vue index 8a9b7a4..e693af4 100644 --- a/src/components/services/Ping.vue +++ b/src/components/services/Ping.vue @@ -50,7 +50,11 @@ export default { methods: { fetchStatus: async function () { const url = `${this.item.url}`; - fetch(url, { method: "HEAD", cache: "no-cache" }) + fetch(url, { + method: "HEAD", + cache: "no-cache", + credentials: "include", + }) .then((response) => { if (!response.ok) { throw Error(response.statusText);