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 <donniean1@gmail.com>
  • Loading branch information
donniean committed Sep 24, 2024
1 parent 2142f56 commit f90d82a
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 f90d82a

Please sign in to comment.