Skip to content

Commit

Permalink
feat: add isKsEdition in ENV (#5192)
Browse files Browse the repository at this point in the history
Signed-off-by: donniean <[email protected]>
  • Loading branch information
donniean committed Sep 24, 2024
1 parent 5c78cd0 commit d169338
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/shared/src/constants/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';

0 comments on commit d169338

Please sign in to comment.