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:
Ferdinand Thiessen 2024-04-19 21:57:59 +02:00
parent fc560d8ec9
commit 0f450d7b29
No known key found for this signature in database
GPG Key ID: 45FAE7268762B400
1 changed files with 1 additions and 1 deletions

View File

@ -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(