This commit is contained in:
biglyderv 2025-01-31 20:43:50 -05:00
parent 43a2405271
commit b7efdb1808

10
site.js
View file

@ -191,6 +191,16 @@ async function siteCollector(user, path, site, useLimit) {
if (!u) continue;
let { following, followers } = u;
if (!following || !followers) continue;
try {
let o = new URL(uf);
if (followers.indexOf(o.origin) == -1) {
followers.push(o.origin)
}
} catch (err) {
}
for (let f of followers) {
if (!data[f]) data[f] = {followers: []};
if (!data[f].following) data[f].following = [];