mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00
fix: login ip check (#2848)
This commit is contained in:
@@ -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']))
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user