Authored by htoooth

fix

... ... @@ -230,6 +230,10 @@ const THIRTY_MINUTES = 1000 * 60 * 10;
async function requestHeaderData(type) {
let resData = {};
if (!cacheHeaderHtml[type]) {
type = 'boys';
}
if (_.isEmpty(cacheHeaderHtml[type][0]) || ((new Date() - cacheHeaderHtml[type][1]) > THIRTY_MINUTES)) {
let channelNum = (function() {
switch (type) {
... ...