diff options
Diffstat (limited to 'src')
-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 515177e..a60c242 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 | } |