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

fix(console): force dev feature enabled false (#5752)

* fix(console): force dev feature enabled false

force dev feature enabled false

* fix(console): avoid lint error

avoid lint error

* fix(console): enable dev feature for integration tests

enable dev feature for integration tests
This commit is contained in:
simeng-li 2024-04-18 17:59:15 +08:00 committed by GitHub
parent c6adedefb5
commit bd228bce71
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,5 +4,4 @@ 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 =
!isProduction || yes(process.env.DEV_FEATURES_ENABLED) || yes(process.env.INTEGRATION_TEST);
export const isDevFeaturesEnabled: boolean = yes(process.env.INTEGRATION_TEST);