Skip to content

Commit

Permalink
chore: add ssr logics (#98)
Browse files Browse the repository at this point in the history
* chore: add ssr logics

* fix: remove ssr for 404
  • Loading branch information
k61b authored Aug 9, 2023
1 parent 558390d commit 723418f
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client/src/pages/login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,8 @@ const LoginPage: NextPage = () => {
);
};

export async function getServerSideProps() {
return { props: {} };
}

export default LoginPage;
4 changes: 4 additions & 0 deletions client/src/pages/recover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,8 @@ const RecoverPage: NextPage = () => {
);
};

export async function getServerSideProps() {
return { props: {} };
}

export default RecoverPage;
4 changes: 4 additions & 0 deletions client/src/pages/reset-password.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,8 @@ const ResetPasswordPage: NextPage = () => {
);
};

export async function getServerSideProps() {
return { props: {} };
}

export default ResetPasswordPage;
4 changes: 4 additions & 0 deletions client/src/pages/signup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,8 @@ const SignupPage: NextPage = () => {
);
};

export async function getServerSideProps(){
return { props: {} };
}

export default SignupPage;

0 comments on commit 723418f

Please sign in to comment.