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 <[email protected]>
  • Loading branch information
susnux authored and backportbot[bot] committed May 6, 2024
1 parent 9517e56 commit de24508
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 de24508

Please sign in to comment.