Skip to content

Commit dbc3d32

Browse files
author
Vikas Agarwal
committed
assuming simple way to read env variable
1 parent ff20d7e commit dbc3d32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config/constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ export const PROJECT_MAX_COLORS = 5
456456
export const AUTOCOMPLETE_TRIGGER_LENGTH = 3
457457

458458
// Toggle this flag to enable/disable maintenance mode
459-
export const MAINTENANCE_MODE = process.env[`${process.env.ENV}_MAINTENANCE_MODE`]
459+
export const MAINTENANCE_MODE = process.env.MAINTENANCE_MODE
460460

461461
export const LS_INCOMPLETE_PROJECT = 'incompleteProject'
462462

0 commit comments

Comments
 (0)