fix stuff + add stuff
This commit is contained in:
parent
71409df15f
commit
1eceb2ca1d
@ -182,7 +182,7 @@ class InnerTubePokeVidious {
|
|||||||
const minute = new Date().getMinutes();
|
const minute = new Date().getMinutes();
|
||||||
const hour = new Date().getHours();
|
const hour = new Date().getHours();
|
||||||
|
|
||||||
const pattern = ["fallback", "normal", "normal", "normal", "normal", "fallback"];
|
const pattern = ["fallback", "normal", "fallback", "normal", "normal", "fallback"];
|
||||||
const twoHourIndex = Math.floor(hour / 2) % pattern.length;
|
const twoHourIndex = Math.floor(hour / 2) % pattern.length;
|
||||||
const currentPreference = pattern[twoHourIndex];
|
const currentPreference = pattern[twoHourIndex];
|
||||||
const inFallbackWindow = minute % 20 >= 10;
|
const inFallbackWindow = minute % 20 >= 10;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user