From a1b3c72eac7483fa9242069ee36ab5162d62b7b2 Mon Sep 17 00:00:00 2001 From: Brady Fomegne Date: Mon, 25 Mar 2024 02:23:30 +0100 Subject: [PATCH] data: update dataset reference (#17) --- src/index.html | 21 ++++++--------------- src/index.js | 4 ++-- 2 files changed, 8 insertions(+), 17 deletions(-) diff --git a/src/index.html b/src/index.html index 977c386..f4d678c 100644 --- a/src/index.html +++ b/src/index.html @@ -35,18 +35,10 @@ diff --git a/src/index.js b/src/index.js index 015b475..a750da2 100644 --- a/src/index.js +++ b/src/index.js @@ -133,10 +133,10 @@ global.afrim = Object({ downloadStatusElement.hidden = false; // We download the datalang. - const lang = sessionStorage.getItem("lang") || "geez"; + const lang = sessionStorage.getItem("lang") || "gez"; document.getElementById(lang).classList.toggle("is-active"); await loadConfig( - `https://raw.githubusercontent.com/pythonbrad/afrim-data/minimal/${lang}/${lang}.toml`, + `https://raw.githubusercontent.com/pythonbrad/afrim-data/fa8a5560e63a23ff7032e7c56fe5dbde2963b9fa/${lang}/${lang}.toml`, ); // We mark the text field busy.