mirror of https://github.com/nextcloud/server
fix(settings): When testing server stability, request URL with trailing slash
This prevents one HTTP request for most situations (301 from `apps/files` to `apps/files/`) and helps users with faulty reverse-proxy configuration. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
parent
fc560d8ec9
commit
0f450d7b29
|
@ -197,7 +197,7 @@ const actions = {
|
|||
})
|
||||
|
||||
// check for server health
|
||||
return api.get(generateUrl('apps/files'))
|
||||
return api.get(generateUrl('apps/files/'))
|
||||
.then(() => {
|
||||
if (response.data.update_required) {
|
||||
showInfo(
|
||||
|
|
Loading…
Reference in New Issue