Added more stuff to profiles, including descriptions and profile

pictures. Very cool.
This commit is contained in:
sarah committed 2026-09-07 17:35:38 +02:00
1 parent 7f9284c5e2
commit d1721517cc
7 files changed
+1560 -250

No files matched your search

+23
View File
@@ -233,6 +233,29 @@ async function SetUsername(
return await Response.json();
}
async function SetUserConfig(
Changes
) {
const Response = await fetch(
ApiUrl + "/SetUserConfig.php",
{
method: "POST",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
SaveKey: GetSaveKey(),
...Changes
})
}
);
return await Response.json();
}
async function SetColour(
Colour
) {