1
0
mirror of https://github.com/kalmarek/SmallHyperbolic synced 2024-11-23 23:40:28 +01:00

fix json url

This commit is contained in:
Marek Kaluba 2022-02-14 12:56:11 +01:00
parent 91fb10742e
commit de0bdb3575
No known key found for this signature in database
GPG Key ID: 8BF1A3855328FC15

View File

@ -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) { async function fetch_json(url) {
try { try {
@ -9,6 +9,7 @@ async function fetch_json(url) {
console.log("Error while fetching json:" + err); console.log("Error while fetching json:" + err);
} }
} }
let table = fetch_json(groups_url) let table = fetch_json(groups_url)
.then(setup_table) .then(setup_table)
.then(setup_filter) .then(setup_filter)