Update descriptions.js

Adds a referrer to make analytics easier for me
This commit is contained in:
MollTheCoder 2023-07-04 01:31:47 -04:00 committed by GitHub
parent 2bc317948a
commit 0fa05dd9c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,9 @@
console.log("descriptions.js: Loading vanilla descriptions...");
fetch("https://sandboxels-mods.mollthecoder.repl.co/descriptions/vanilla.json")
fetch("https://sandboxels-mods.mollthecoder.repl.co/descriptions/vanilla.json",
{
referrer: "https://sandboxels.r74n.com/mods/descriptions.js"
}
)
.then(res=>{
res.json().then(json=>{
for(const element in json) {