From dfe49d602106ff1dd00476c61fc2af3555efb317 Mon Sep 17 00:00:00 2001
From: jjanzen <jjanzen@jjanzen.ca>
Date: Mon, 10 Feb 2025 17:26:31 -0600
Subject: load urls

---
 scripts/cssa-webring.js | 9 +++++++++
 1 file changed, 9 insertions(+)

(limited to 'scripts')

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() {
-- 
cgit v1.2.3