diff options
author | jjanzen <jjanzen@jjanzen.ca> | 2025-02-10 17:26:31 -0600 |
---|---|---|
committer | jjanzen <jjanzen@jjanzen.ca> | 2025-02-10 17:26:31 -0600 |
commit | dfe49d602106ff1dd00476c61fc2af3555efb317 (patch) | |
tree | 5a75b0a4bbf78a6447d1627d62aa00addf7f99a0 | |
parent | 7f488eb1390345c660b98f08138a31d394659bd5 (diff) |
load urls
-rw-r--r-- | scripts/cssa-webring.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/cssa-webring.js b/scripts/cssa-webring.js index ddf4fef..f385d34 100644 --- a/scripts/cssa-webring.js +++ b/scripts/cssa-webring.js @@ -1,5 +1,14 @@ function load_random_site() { console.log("requested random site"); + + const webring_all_url = "https://aidang.cc/webring/all"; + + fetch(webring_all_url) + .then((response) => response.json()) + .then((obj) => { + const urls = obj; + console.log(urls); + }); } function load_webring() { |