From 439df5ecf0b3f4cd256e3c16d9791af83927e975 Mon Sep 17 00:00:00 2001 From: jjanzen Date: Mon, 10 Feb 2025 17:43:34 -0600 Subject: just compare url manually lol --- scripts/cssa-webring.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/scripts/cssa-webring.js b/scripts/cssa-webring.js index a04a1d6..749b23d 100644 --- a/scripts/cssa-webring.js +++ b/scripts/cssa-webring.js @@ -6,11 +6,7 @@ function load_random_site() { .then((obj) => { const entries = obj; // TODO: remove myself from the list const entries_cleaned = obj.filter((item) => { - console.log(item); - return !item.isEqual({ - name: "jjanzen's website", - url: "https://jjanzen.ca", - }); + return item.url !== "https://jjanzen.ca"; }); console.log(entries_cleaned); const entry = entries[Math.floor(Math.random() * entries.length)]; -- cgit v1.2.3