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:
parent
c6adedefb5
commit
bd228bce71
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue