aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorColin <mcclurec@gmail.com>2021-08-11 15:38:24 -0700
committerGitHub <noreply@github.com>2021-08-11 15:38:24 -0700
commit76a46c3507b5c0daef7edcb165e949dea4968e2f (patch)
tree8ad3ed0ca9ca408262be4fce42fec40143fd4859
parentcf2fb08dc72cee1add0e6e9b3d4ba19b38da88d3 (diff)
downloadhomer-76a46c3507b5c0daef7edcb165e949dea4968e2f.tar.gz
homer-76a46c3507b5c0daef7edcb165e949dea4968e2f.tar.zst
homer-76a46c3507b5c0daef7edcb165e949dea4968e2f.zip
Update Ping.vue
-rw-r--r--src/components/services/Ping.vue6
1 files changed, 5 insertions, 1 deletions
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 {
50 methods: { 50 methods: {
51 fetchStatus: async function () { 51 fetchStatus: async function () {
52 const url = `${this.item.url}`; 52 const url = `${this.item.url}`;
53 fetch(url, { method: "HEAD", cache: "no-cache" }) 53 fetch(url, {
54 method: "HEAD",
55 cache: "no-cache",
56 credentials: "include",
57 })
54 .then((response) => { 58 .then((response) => {
55 if (!response.ok) { 59 if (!response.ok) {
56 throw Error(response.statusText); 60 throw Error(response.statusText);