aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-04-19 21:57:59 +0200
committerFerdinand Thiessen <opensource@fthiessen.de>2024-05-11 16:11:56 +0200
commit773823792be18363d47cfc237bd7107411312455 (patch)
tree5af8d94d072730e7a148a9e7b48f02c0f7bfc0af
parentefb03b726d27907f161a0c011a6ebc3cc3bfcd2b (diff)
downloadnextcloud-server-773823792be18363d47cfc237bd7107411312455.tar.gz
nextcloud-server-773823792be18363d47cfc237bd7107411312455.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>
-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 af77b9fc08b..c6ca84562b8 100644
--- a/apps/settings/src/store/apps.js
+++ b/apps/settings/src/store/apps.js
@@ -186,7 +186,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(