diff options
author | Colin <mcclurec@gmail.com> | 2021-08-11 15:38:24 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-11 15:38:24 -0700 |
commit | 76a46c3507b5c0daef7edcb165e949dea4968e2f (patch) | |
tree | 8ad3ed0ca9ca408262be4fce42fec40143fd4859 /src/components | |
parent | cf2fb08dc72cee1add0e6e9b3d4ba19b38da88d3 (diff) | |
download | homer-76a46c3507b5c0daef7edcb165e949dea4968e2f.tar.gz homer-76a46c3507b5c0daef7edcb165e949dea4968e2f.tar.zst homer-76a46c3507b5c0daef7edcb165e949dea4968e2f.zip |
Update Ping.vue
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/services/Ping.vue | 6 |
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); |