diff options
Diffstat (limited to 'src/App.vue')
-rw-r--r-- | src/App.vue | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/App.vue b/src/App.vue index c58fca1..664867f 100644 --- a/src/App.vue +++ b/src/App.vue | |||
@@ -231,13 +231,7 @@ export default { | |||
231 | }, | 231 | }, |
232 | getConfig: function (path = "assets/config.yml") { | 232 | getConfig: function (path = "assets/config.yml") { |
233 | return fetch(path).then((response) => { | 233 | return fetch(path).then((response) => { |
234 | if (response.redirected) { | 234 | if (response.status == 404 || response.redirected) { |
235 | // This allows to work with authentication proxies. | ||
236 | window.location.href = response.url; | ||
237 | return; | ||
238 | } | ||
239 | |||
240 | if (response.status == 404) { | ||
241 | this.configNotFound = true; | 235 | this.configNotFound = true; |
242 | return {}; | 236 | return {}; |
243 | } | 237 | } |