Skip to content

Commit

Permalink
Merge pull request #1313 from gagansuie/dev
Browse files Browse the repository at this point in the history
Fix: browse missing slash
  • Loading branch information
gagansuie authored Jul 15, 2024
2 parents 70e4827 + 9057c6a commit 9ecf72e
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 9ecf72e

Please sign in to comment.