Move to Github Pages, add very basic analytics
This commit is contained in:
parent
c4debc0cff
commit
387cd5e432
|
|
@ -1,10 +1,11 @@
|
||||||
|
fetch("https://eoynkne6jon7kld.m.pipedream.net/descriptions-analytics").catch(_=>{});
|
||||||
console.log("descriptions.js: Loading vanilla descriptions...");
|
console.log("descriptions.js: Loading vanilla descriptions...");
|
||||||
fetch("https://sandboxels-mods.mollthecoder.repl.co/descriptions/vanilla.json",
|
fetch (
|
||||||
|
"https://mollthecoder.github.io/Sandboxels-Descriptions/descriptions/vanilla.json",
|
||||||
{
|
{
|
||||||
referrer: "https://sandboxels.r74n.com/mods/descriptions.js"
|
referrer: "https://sandboxels.r74n.com/mods/descriptions.js"
|
||||||
}
|
}
|
||||||
)
|
).then(res=>{
|
||||||
.then(res=>{
|
|
||||||
res.json().then(json=>{
|
res.json().then(json=>{
|
||||||
for(const element in json) {
|
for(const element in json) {
|
||||||
// If the element doesn't exist (for example, nocancer2.js) then don't try to change it.
|
// If the element doesn't exist (for example, nocancer2.js) then don't try to change it.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue