From 539d266d171edd6d3378924f6a43a87e16c0fbee Mon Sep 17 00:00:00 2001 From: zjy <3161362058@qq.com> Date: Thu, 12 Sep 2024 17:56:43 +0800 Subject: [PATCH] fix custom --- .../applaunchpad/src/pages/app/edit/components/Form.tsx | 4 ++-- frontend/providers/applaunchpad/src/utils/adapt.ts | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/frontend/providers/applaunchpad/src/pages/app/edit/components/Form.tsx b/frontend/providers/applaunchpad/src/pages/app/edit/components/Form.tsx index bad82bbc8295..030e75b25a9e 100644 --- a/frontend/providers/applaunchpad/src/pages/app/edit/components/Form.tsx +++ b/frontend/providers/applaunchpad/src/pages/app/edit/components/Form.tsx @@ -803,7 +803,7 @@ const Form = ({ openPublicDomain: false, publicDomain: '', customDomain: '', - domain: SEALOS_USER_DOMAIN[0] ?? SEALOS_DOMAIN + domain: SEALOS_DOMAIN }) } > @@ -828,7 +828,7 @@ const Form = ({ protocol: network.protocol || 'HTTP', openPublicDomain: e.target.checked, publicDomain: network.publicDomain || nanoid(), - domain: network.domain || SEALOS_USER_DOMAIN[0] || SEALOS_DOMAIN + domain: network.domain || SEALOS_DOMAIN }); }} /> diff --git a/frontend/providers/applaunchpad/src/utils/adapt.ts b/frontend/providers/applaunchpad/src/utils/adapt.ts index c2cb87bd3bba..c63fcc077de5 100644 --- a/frontend/providers/applaunchpad/src/utils/adapt.ts +++ b/frontend/providers/applaunchpad/src/utils/adapt.ts @@ -326,7 +326,9 @@ export const adaptAppDetail = async (configs: DeployKindsType[]): Promise