From def91cfa870b7c15ad7be839ddf16640ad973dde Mon Sep 17 00:00:00 2001 From: bingus_violet Date: Fri, 12 Jan 2024 14:51:22 +0000 Subject: [PATCH] Proxy through thumbor --- index.js | 7 ++++--- resources/mainPage.html | 2 +- static/discord/index.html | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/index.js b/index.js index b977bf1..3bf0b9e 100644 --- a/index.js +++ b/index.js @@ -73,7 +73,7 @@ function pageUpdate() { addedHTML += "

" if (status.emoji) { if (status.emoji.id) { - addedHTML += ` ` + addedHTML += ` ` } else { addedHTML += status.emoji.name } @@ -139,6 +139,7 @@ function pageUpdate() { return decodeURIComponent(activityImages[activity.name]) } else { return decodeURIComponent(`https://cdn.discordapp.com/app-assets/680748054038577165/680775885317472448.png`) + // This was supposed to be temporary but it kinda stuck honestly lol (It's an ultrakill icon) } } } @@ -159,7 +160,7 @@ function pageUpdate() { if (activity.type == 2) { addedHTML += `

- +

Listening to ${activity.name}
Song: ${activity.details || " "} @@ -178,7 +179,7 @@ function pageUpdate() { addedHTML += `

- +

Playing ${activity.name}
${activity.details || activity.assets.large_text || " "} diff --git a/resources/mainPage.html b/resources/mainPage.html index fd13bcb..7212f48 100644 --- a/resources/mainPage.html +++ b/resources/mainPage.html @@ -25,7 +25,7 @@

Violet

- +

They/Them

Developer

diff --git a/static/discord/index.html b/static/discord/index.html index fb55e50..330ba4d 100644 --- a/static/discord/index.html +++ b/static/discord/index.html @@ -28,7 +28,7 @@

Violet

- +

Developer

Offline