aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/components/ConnectivityChecker.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/ConnectivityChecker.vue b/src/components/ConnectivityChecker.vue
index 1c677d2..0d7e79f 100644
--- a/src/components/ConnectivityChecker.vue
+++ b/src/components/ConnectivityChecker.vue
@@ -63,7 +63,7 @@ export default {
63 }) 63 })
64 .then(function (response) { 64 .then(function (response) {
65 // opaqueredirect means request has been redirected, to auth provider probably 65 // opaqueredirect means request has been redirected, to auth provider probably
66 if (response.type === "opaqueredirect" && !response.ok) { 66 if ((response.type === "opaqueredirect" && !response.ok) || [401, 403].indexOf(response.status) != -1) {
67 window.location.href = window.location.href + "?t="+(new Date().valueOf()); 67 window.location.href = window.location.href + "?t="+(new Date().valueOf());
68 } 68 }
69 that.offline = !response.ok; 69 that.offline = !response.ok;