]> git.immae.eu Git - github/bastienwirtz/homer.git/blobdiff - src/components/ConnectivityChecker.vue
Adds multiple pages based on different config files
[github/bastienwirtz/homer.git] / src / components / ConnectivityChecker.vue
index d41c4437442e46256749f2230d1fa3755892ab5f..e0e88bb9f7cab8ab89eb24bc7f57a2e3b31e47e3 100644 (file)
@@ -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",
       })