Skip to content

Commit

Permalink
fix env default
Browse files Browse the repository at this point in the history
Signed-off-by: jingyang <3161362058@qq.com>
  • Loading branch information
zjy365 committed Apr 2, 2024
1 parent ea41474 commit 4be5065
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions service/license/src/pages/cluster/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,7 @@ export async function getServerSideProps({ req, res, locales }: any) {
return {
props: {
ossFileUrl: process.env.OSS_FILE_URL,
customBasePatch:
process.env.CUSTOM_BASE_PATH ||
'https://mirror.ghproxy.com/https://raw.githubusercontent.com/labring/sealos/main/scripts/cloud/install.sh',
customBasePatch: process.env.CUSTOM_BASE_PATH,
...(await serverSideTranslations(local, undefined, null, locales || []))
}
};
Expand Down

0 comments on commit 4be5065

Please sign in to comment.