From c6267296ec03db24ff40959ef58eedcec904c39b Mon Sep 17 00:00:00 2001 From: luixal Date: Tue, 23 Feb 2021 20:50:32 +0100 Subject: Changes relative paths to hash. Avoids problems with #8 --- src/components/ConnectivityChecker.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components') diff --git a/src/components/ConnectivityChecker.vue b/src/components/ConnectivityChecker.vue index e0e88bb..d41c443 100644 --- a/src/components/ConnectivityChecker.vue +++ b/src/components/ConnectivityChecker.vue @@ -33,7 +33,7 @@ export default { methods: { checkOffline: function () { let that = this; - return fetch(window.location.origin + "?alive", { + return fetch(window.location.href + "?alive", { method: "HEAD", cache: "no-store", }) -- cgit v1.2.3