mirror of
https://github.com/labring/FastGPT.git
synced 2025-12-26 04:32:50 +00:00
fix: login ip check (#2848)
Some checks failed
Build FastGPT images in Personal warehouse / build-fastgpt-images (push) Waiting to run
Deploy image by kubeconfig / build-fastgpt-docs-images (push) Has been cancelled
Deploy image to vercel / deploy-production (push) Has been cancelled
Sync images / sync (push) Has been cancelled
Deploy image by kubeconfig / update-docs-image (push) Has been cancelled
Some checks failed
Build FastGPT images in Personal warehouse / build-fastgpt-images (push) Waiting to run
Deploy image by kubeconfig / build-fastgpt-docs-images (push) Has been cancelled
Deploy image to vercel / deploy-production (push) Has been cancelled
Sync images / sync (push) Has been cancelled
Deploy image by kubeconfig / update-docs-image (push) Has been cancelled
This commit is contained in:
parent
df328b2a73
commit
d4b99ddcab
|
|
@ -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']))
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue