disable sorts for now
This commit is contained in:
parent
33fa2b3943
commit
fdffb5e4b8
1 changed files with 1 additions and 1 deletions
2
site.js
2
site.js
|
@ -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 = {};
|
||||
|
|
Loading…
Reference in a new issue