mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
add additional way to get content switchover time for client
This commit is contained in:
@@ -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 = {
|
export const TYPE_SCHEDULE = {
|
||||||
timeTravelers: FIRST_RELEASE_DAY,
|
timeTravelers: FIRST_RELEASE_DAY,
|
||||||
|
|||||||
Reference in New Issue
Block a user