From b76585cce378ba9608437ea61d7912e86f615dd6 Mon Sep 17 00:00:00 2001 From: Phillip Thelen Date: Fri, 7 Jun 2024 11:10:48 +0200 Subject: [PATCH] add additional way to get content switchover time for client --- website/common/script/content/constants/schedule.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/common/script/content/constants/schedule.js b/website/common/script/content/constants/schedule.js index da31939373..089eb2486b 100644 --- a/website/common/script/content/constants/schedule.js +++ b/website/common/script/content/constants/schedule.js @@ -774,7 +774,7 @@ export const GALA_SCHEDULE = { }, }; -const SWITCHOVER_TIME = nconf.get('CONTENT_SWITCHOVER_TIME_OFFSET') || 0; +const SWITCHOVER_TIME = nconf.get('CONTENT_SWITCHOVER_TIME_OFFSET') || process.env.CONTENT_SWITCHOVER_TIME_OFFSET || 0; export const TYPE_SCHEDULE = { timeTravelers: FIRST_RELEASE_DAY,