Skip to content

Commit

Permalink
fix(settings): When testing server stability, request URL with traili…
Browse files Browse the repository at this point in the history
…ng 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>
  • Loading branch information
susnux committed May 8, 2024
1 parent 2967c21 commit 5ec7d2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/settings/src/store/apps.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 5ec7d2e

Please sign in to comment.