From fd17b684c2e3727aa97571fffca446f24bf55f6d Mon Sep 17 00:00:00 2001 From: zjy <3161362058@qq.com> Date: Mon, 9 Sep 2024 14:20:31 +0800 Subject: [PATCH] update default user domain --- .../applaunchpad/src/pages/api/platform/getInitData.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/providers/applaunchpad/src/pages/api/platform/getInitData.ts b/frontend/providers/applaunchpad/src/pages/api/platform/getInitData.ts index 5f81a0fb1fc9..8354b2d25a5f 100644 --- a/frontend/providers/applaunchpad/src/pages/api/platform/getInitData.ts +++ b/frontend/providers/applaunchpad/src/pages/api/platform/getInitData.ts @@ -69,6 +69,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse) console.log(res); global.AppConfig = res; } + jsonRes(res, { data: { SEALOS_DOMAIN: global.AppConfig.cloud.domain, @@ -79,7 +80,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse) guideEnabled: global.AppConfig.common.guideEnabled, fileMangerConfig: global.AppConfig.launchpad.fileManger, CURRENCY: Coin.shellCoin, - SEALOS_USER_DOMAIN: global.AppConfig.cloud.userDomain + SEALOS_USER_DOMAIN: global.AppConfig.cloud.userDomain || [] } }); } catch (error) {