Skip to content

Commit 1a1341e

Browse files
author
vikasrohit
authored
Merge pull request #2380 from appirio-tech/hotfix/bring_back_compile_time_maintenance_mode
assuming simple way to read env variable
2 parents 813f218 + dbc3d32 commit 1a1341e

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
@@ -496,7 +496,7 @@ export const PROJECT_MAX_COLORS = 5
496496
export const AUTOCOMPLETE_TRIGGER_LENGTH = 3
497497

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

501501
export const LS_INCOMPLETE_PROJECT = 'incompleteProject'
502502

0 commit comments

Comments
 (0)