aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-04-19 21:57:59 +0200
committerFerdinand Thiessen <opensource@fthiessen.de>2024-05-06 16:12:41 +0200
commitb156bcd3291ba386e5671a0a5c829ca1744a445f (patch)
tree1f4ca7505859c74c11e341a1f246b0f76ce429b5 /apps
parent890c5b8594fdebb221071bffbd17276cd3e6a4eb (diff)
downloadnextcloud-server-b156bcd3291ba386e5671a0a5c829ca1744a445f.tar.gz
nextcloud-server-b156bcd3291ba386e5671a0a5c829ca1744a445f.zip
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>
Diffstat (limited to 'apps')
-rw-r--r--apps/settings/src/store/apps.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings/src/store/apps.js b/apps/settings/src/store/apps.js
index b8528f58412..17e5d74be93 100644
--- a/apps/settings/src/store/apps.js
+++ b/apps/settings/src/store/apps.js
@@ -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(