diff options
author | luixal <luixal@gmail.com> | 2021-01-07 09:39:58 +0100 |
---|---|---|
committer | luixal <luixal@gmail.com> | 2021-01-07 09:39:58 +0100 |
commit | e3bd2ecc2ca874270282c3c42813b8053d67dcbd (patch) | |
tree | a1248fd1c62273e3afd68e2059243e1f091d098a /src/components/ConnectivityChecker.vue | |
parent | 3786f80dae2df7780d19ba8ffd9374ef3c2fc30f (diff) | |
download | homer-e3bd2ecc2ca874270282c3c42813b8053d67dcbd.tar.gz homer-e3bd2ecc2ca874270282c3c42813b8053d67dcbd.tar.zst homer-e3bd2ecc2ca874270282c3c42813b8053d67dcbd.zip |
Adds multiple pages based on different config files
Diffstat (limited to 'src/components/ConnectivityChecker.vue')
-rw-r--r-- | src/components/ConnectivityChecker.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/ConnectivityChecker.vue b/src/components/ConnectivityChecker.vue index d41c443..e0e88bb 100644 --- a/src/components/ConnectivityChecker.vue +++ b/src/components/ConnectivityChecker.vue | |||
@@ -33,7 +33,7 @@ export default { | |||
33 | methods: { | 33 | methods: { |
34 | checkOffline: function () { | 34 | checkOffline: function () { |
35 | let that = this; | 35 | let that = this; |
36 | return fetch(window.location.href + "?alive", { | 36 | return fetch(window.location.origin + "?alive", { |
37 | method: "HEAD", | 37 | method: "HEAD", |
38 | cache: "no-store", | 38 | cache: "no-store", |
39 | }) | 39 | }) |