From de24508c032df36d692c134be808eaa47bf64129 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Fri, 19 Apr 2024 21:57:59 +0200 Subject: [PATCH] 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 --- apps/settings/src/store/apps.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/settings/src/store/apps.js b/apps/settings/src/store/apps.js index af77b9fc08b97..c6ca84562b8c7 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(