Optimize!
This commit is contained in:
parent
def91cfa87
commit
1aa8264ad0
1 changed files with 2 additions and 2 deletions
4
index.js
4
index.js
|
@ -18,7 +18,7 @@ var lanyardData = undefined
|
||||||
var discData = null
|
var discData = null
|
||||||
|
|
||||||
const activityImages = {
|
const activityImages = {
|
||||||
"ULTRAKILL": "https://thumbor-production-0e82.up.railway.app/unsafe/512x512/https://fs.violets-purgatory.dev/ULTRAKILL/etc/DiscordIcon.webp"
|
"ULTRAKILL": "https://fs.violets-purgatory.dev/ULTRAKILL/etc/DiscordIcon.webp"
|
||||||
}
|
}
|
||||||
|
|
||||||
var mastoData = {
|
var mastoData = {
|
||||||
|
@ -160,7 +160,7 @@ function pageUpdate() {
|
||||||
if (activity.type == 2) {
|
if (activity.type == 2) {
|
||||||
addedHTML += `
|
addedHTML += `
|
||||||
<div class="chip activity col-md-6 testing">
|
<div class="chip activity col-md-6 testing">
|
||||||
<img src="https://thumbor-production-0e82.up.railway.app/unsafe/${get_img()}" title="${activity.assets.large_text || activity.assets.small_text}">
|
<img src="https://thumbor-production-0e82.up.railway.app/unsafe/512x512/${get_img()}" title="${activity.assets.large_text || activity.assets.small_text}">
|
||||||
<p>
|
<p>
|
||||||
Listening to <span style="color: limegreen;">${activity.name}</span>
|
Listening to <span style="color: limegreen;">${activity.name}</span>
|
||||||
<br> Song: ${activity.details || " "}
|
<br> Song: ${activity.details || " "}
|
||||||
|
|
Loading…
Reference in a new issue