Skip to content

Commit

Permalink
Redirect 404 to / instead of /dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
mlejva committed Oct 16, 2024
1 parent edc187e commit ab3ab4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/src/pages/_404/[...path].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { GetServerSideProps } from 'next'
export const getServerSideProps: GetServerSideProps = async () => {
return {
redirect: {
destination: '/dashboard',
destination: '/',
permanent: false,
},
}
Expand Down

0 comments on commit ab3ab4d

Please sign in to comment.