diff options
author | Andreas Waschinski <25221082+waschinski@users.noreply.github.com> | 2021-09-14 08:56:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-14 08:56:06 +0200 |
commit | 4eeed6596bc79d340d8b3e4dd7d0efa5aa358efc (patch) | |
tree | c788d0394b54b5c63813bc57ab6414df9afb770d /src/components/services/Ping.vue | |
parent | a74fa3830232f761bb66c7509e088f7468d5b619 (diff) | |
parent | f11b1c9dcff418a2995a1089fa91fd9e44d6fe8b (diff) | |
download | homer-4eeed6596bc79d340d8b3e4dd7d0efa5aa358efc.tar.gz homer-4eeed6596bc79d340d8b3e4dd7d0efa5aa358efc.tar.zst homer-4eeed6596bc79d340d8b3e4dd7d0efa5aa358efc.zip |
Merge branch 'main' into patch-1
Diffstat (limited to 'src/components/services/Ping.vue')
-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); |