Skip to content

Commit

Permalink
Fix: browse missing slash
Browse files Browse the repository at this point in the history
  • Loading branch information
gagansuie committed Jul 15, 2024
1 parent a37eab2 commit 9057c6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/[username]/+page.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export const actions = {
locals.user.user = updatedUser
redirect(303, `/${updatedUser.username}`)
} else {
redirect(303, 'browse')
redirect(303, '/browse')
}
}
} catch (err: any) {
Expand Down

0 comments on commit 9057c6a

Please sign in to comment.