Commit d4b99ddc by Archer Committed by GitHub

fix: login ip check (#2848)

parent df328b2a
......@@ -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']))
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment