diff options
author | jjanzen <jjanzen@jjanzen.ca> | 2025-02-10 17:43:34 -0600 |
---|---|---|
committer | jjanzen <jjanzen@jjanzen.ca> | 2025-02-10 17:43:34 -0600 |
commit | 439df5ecf0b3f4cd256e3c16d9791af83927e975 (patch) | |
tree | a2be84b4b9ebb26959533bff639b87b36fc34a74 | |
parent | f7f75ab9aa132087bfbe61c3ba6639464f6a2bd2 (diff) |
just compare url manually lol
-rw-r--r-- | scripts/cssa-webring.js | 6 |
1 files changed, 1 insertions, 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)]; |