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>
pull/44939/head
Ferdinand Thiessen 1 month ago
parent 890c5b8594
commit b156bcd329
No known key found for this signature in database
GPG Key ID: 45FAE7268762B400

@ -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…
Cancel
Save