mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 14:50:17 -04:00
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
890c5b8594
commit
b156bcd329
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue