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 Apr 19, 2024
1 parent fc560d8 commit 0f450d7
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 @@ -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(
Expand Down

0 comments on commit 0f450d7

Please sign in to comment.