Skip to content

Commit

Permalink
fix: login ip check (#2848)
Browse files Browse the repository at this point in the history
  • Loading branch information
c121914yu authored Sep 30, 2024
1 parent df328b2 commit d4b99dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/app/src/pages/login/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ function RedirectDrawer({
export async function getServerSideProps(context: any) {
return {
props: {
ChineseRedirectUrl: process.env.CHINESE_IP_REDIRECT_URL,
ChineseRedirectUrl: process.env.CHINESE_IP_REDIRECT_URL ?? '',
...(await serviceSideProps(context, ['app', 'user', 'login']))
}
};
Expand Down

0 comments on commit d4b99dd

Please sign in to comment.