disable sorts for now

This commit is contained in:
biglyderv 2025-02-01 13:54:26 -05:00
parent 33fa2b3943
commit fdffb5e4b8

View file

@ -269,7 +269,7 @@ async function siteCollector(user, path, site, useLimit, data2) {
if (i != 0) {
let tempSet = dat.map(x => x[0]);
let kk = Object.keys(data);
kk = kk.sort((x, y) => ((new URL(x).host == new URL(penv[0]).host) ? 0 : 1) - ((new URL(y).host == new URL(penv[0]).host) ? 0 : 1));
//kk = kk.sort((x, y) => ((new URL(x).host == new URL(penv[0]).host) ? 0 : 1) - ((new URL(y).host == new URL(penv[0]).host) ? 0 : 1));
console.log(kk)
let oldLength = kk.length;
let theData = {};