Skip to content

Commit

Permalink
Redirect to dashboard on success
Browse files Browse the repository at this point in the history
  • Loading branch information
franknoirot committed Jul 20, 2024
1 parent b36ec3e commit 07cd037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/success/+page.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ import { paths } from '$lib/paths'
import { redirect } from '@sveltejs/kit'

export const load = async ({ url }) => {
throw redirect(308, paths.HOME + (url.search || ''))
throw redirect(308, paths.DASHBOARD + (url.search || ''))
}

0 comments on commit 07cd037

Please sign in to comment.