add additional way to get content switchover time for client

This commit is contained in:
Phillip Thelen
2024-06-07 11:10:48 +02:00
parent 8d9af82521
commit b76585cce3

View File

@@ -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,