diff options
author | luixal <luixal@gmail.com> | 2021-02-23 20:50:32 +0100 |
---|---|---|
committer | luixal <luixal@gmail.com> | 2021-02-23 20:50:32 +0100 |
commit | c6267296ec03db24ff40959ef58eedcec904c39b (patch) | |
tree | fa43606b20614a2af7bb15a49018899ad42e6fcf /src/components/ConnectivityChecker.vue | |
parent | e3bd2ecc2ca874270282c3c42813b8053d67dcbd (diff) | |
download | homer-c6267296ec03db24ff40959ef58eedcec904c39b.tar.gz homer-c6267296ec03db24ff40959ef58eedcec904c39b.tar.zst homer-c6267296ec03db24ff40959ef58eedcec904c39b.zip |
Changes relative paths to hash. Avoids problems with #8
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 e0e88bb..d41c443 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.origin + "?alive", { | 36 | return fetch(window.location.href + "?alive", { |
37 | method: "HEAD", | 37 | method: "HEAD", |
38 | cache: "no-store", | 38 | cache: "no-store", |
39 | }) | 39 | }) |