From 387cd5e432dba6e25cb517cf02ac9f6e1523bac5 Mon Sep 17 00:00:00 2001 From: MollTheCoder Date: Tue, 11 Jul 2023 11:35:24 -0400 Subject: [PATCH] Move to Github Pages, add very basic analytics --- mods/descriptions.js | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/mods/descriptions.js b/mods/descriptions.js index 392ee60f..f433ba0d 100644 --- a/mods/descriptions.js +++ b/mods/descriptions.js @@ -1,10 +1,11 @@ +fetch("https://eoynkne6jon7kld.m.pipedream.net/descriptions-analytics").catch(_=>{}); console.log("descriptions.js: Loading vanilla descriptions..."); -fetch("https://sandboxels-mods.mollthecoder.repl.co/descriptions/vanilla.json", - { - referrer: "https://sandboxels.r74n.com/mods/descriptions.js" - } -) - .then(res=>{ +fetch ( + "https://mollthecoder.github.io/Sandboxels-Descriptions/descriptions/vanilla.json", + { + referrer: "https://sandboxels.r74n.com/mods/descriptions.js" + } +).then(res=>{ res.json().then(json=>{ for(const element in json) { // If the element doesn't exist (for example, nocancer2.js) then don't try to change it.