From de0bdb3575b9d749bb1836269ae6e3bc1b485dcb Mon Sep 17 00:00:00 2001 From: Marek Kaluba Date: Mon, 14 Feb 2022 12:56:11 +0100 Subject: [PATCH] fix json url --- docs/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/main.js b/docs/main.js index 2823db7..ea9d8c7 100644 --- a/docs/main.js +++ b/docs/main.js @@ -1,4 +1,4 @@ -const groups_url = new URL("https://raw.githubusercontent.com/kalmarek/SmallHyperbolic/mk/json/data/triangle_groups.json") +const groups_url = new URL("https://raw.githubusercontent.com/kalmarek/SmallHyperbolic/master/data/triangle_groups.json") async function fetch_json(url) { try { @@ -9,6 +9,7 @@ async function fetch_json(url) { console.log("Error while fetching json:" + err); } } + let table = fetch_json(groups_url) .then(setup_table) .then(setup_filter)