]> git.immae.eu Git - github/bastienwirtz/homer.git/commitdiff
Update Ping.vue
authorColin <mcclurec@gmail.com>
Wed, 11 Aug 2021 22:38:24 +0000 (15:38 -0700)
committerGitHub <noreply@github.com>
Wed, 11 Aug 2021 22:38:24 +0000 (15:38 -0700)
src/components/services/Ping.vue

index 8a9b7a4e0579dbea2e04daf99fd21b733bdc9ed0..e693af4cc210eb66ca530a1f9f2fa502bd3a0e1d 100644 (file)
@@ -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);