Skip to content

Commit

Permalink
update default user domain
Browse files Browse the repository at this point in the history
  • Loading branch information
zjy365 committed Sep 9, 2024
1 parent 0792e3c commit fd17b68
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
console.log(res);
global.AppConfig = res;
}

jsonRes<Response>(res, {
data: {
SEALOS_DOMAIN: global.AppConfig.cloud.domain,
Expand All @@ -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) {
Expand Down

0 comments on commit fd17b68

Please sign in to comment.