aboutsummaryrefslogtreecommitdiff
path: root/scripts/cssa-webring.js
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/cssa-webring.js')
-rw-r--r--scripts/cssa-webring.js9
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() {