0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-03-10 22:22:45 -05:00

fix(console): revert the isDevFeaturesEnabled changes in console (#5755)

revert the isDevFeatureEnabled hot fix
This commit is contained in:
simeng-li 2024-04-19 11:47:07 +08:00 committed by GitHub
parent bb4382e0a8
commit 45fd3b22ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,4 +4,5 @@ export const isProduction = process.env.NODE_ENV === 'production';
export const isCloud = yes(process.env.IS_CLOUD);
export const adminEndpoint = process.env.ADMIN_ENDPOINT;
export const isDevFeaturesEnabled: boolean = yes(process.env.INTEGRATION_TEST);
export const isDevFeaturesEnabled =
!isProduction || yes(process.env.DEV_FEATURES_ENABLED) || yes(process.env.INTEGRATION_TEST);