X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2Fcomponents%2FConnectivityChecker.vue;h=e0e88bb9f7cab8ab89eb24bc7f57a2e3b31e47e3;hb=e3bd2ecc2ca874270282c3c42813b8053d67dcbd;hp=d5f8f80c27e60787c47ec8de9c67d802e428baa5;hpb=5b727eee020b9d734f60fd37f840ea47f83fb23e;p=github%2Fbastienwirtz%2Fhomer.git diff --git a/src/components/ConnectivityChecker.vue b/src/components/ConnectivityChecker.vue index d5f8f80..e0e88bb 100644 --- a/src/components/ConnectivityChecker.vue +++ b/src/components/ConnectivityChecker.vue @@ -2,7 +2,7 @@

- You're offline bro. + You're offline friend.

@@ -33,7 +33,7 @@ export default { methods: { checkOffline: function () { let that = this; - return fetch(window.location.href + "?alive", { + return fetch(window.location.origin + "?alive", { method: "HEAD", cache: "no-store", })