From d1693387aa31d268be32b019d1e1036d33f39ab6 Mon Sep 17 00:00:00 2001 From: donniean <12584040+donniean@users.noreply.github.com> Date: Tue, 24 Sep 2024 17:09:31 +0800 Subject: [PATCH] feat: add isKsEdition in ENV (#5192) Signed-off-by: donniean --- packages/shared/src/constants/env.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/shared/src/constants/env.ts b/packages/shared/src/constants/env.ts index b1f221835e4..d2fe961a1ba 100644 --- a/packages/shared/src/constants/env.ts +++ b/packages/shared/src/constants/env.ts @@ -8,3 +8,5 @@ export const isDevelopment = process.env.NODE_ENV === 'development'; export const isProduction = process.env.NODE_ENV === 'production'; export const isKseEdition = process.env.KUBESPHERE_EDITION === 'kse'; + +export const isKsEdition = process.env.KUBESPHERE_EDITION === 'ks';