0
Fork 0
mirror of https://codeberg.org/SafeTwitch/safetwitch-backend.git synced 2025-02-04 10:39:09 -05:00

Fix incorrect environment variable

This commit is contained in:
dragongoose 2023-04-11 18:25:15 -04:00
parent 1c7a40acc2
commit 3cf1536236

View file

@ -453,9 +453,9 @@ export class TwitchAPI {
title: badge.title,
version: badge.version,
images: {
image1x: `${process.env.url}/proxy/img/${base64(badge.image1x)}`,
image2x: `${process.env.url}/proxy/img/${base64(badge.image2x)}`,
image4x: `${process.env.url}/proxy/img/${base64(badge.image4x)}`,
image1x: `${process.env.URL}/proxy/img/${base64(badge.image1x)}`,
image2x: `${process.env.URL}/proxy/img/${base64(badge.image2x)}`,
image4x: `${process.env.URL}/proxy/img/${base64(badge.image4x)}`,
}
}
@ -496,9 +496,9 @@ export class TwitchAPI {
title: badge.title,
version: badge.version,
images: {
image1x: `${process.env.url}/proxy/img/${base64(badge.image1x)}`,
image2x: `${process.env.url}/proxy/img/${base64(badge.image2x)}`,
image4x: `${process.env.url}/proxy/img/${base64(badge.image4x)}`,
image1x: `${process.env.URL}/proxy/img/${base64(badge.image1x)}`,
image2x: `${process.env.URL}/proxy/img/${base64(badge.image2x)}`,
image4x: `${process.env.URL}/proxy/img/${base64(badge.image4x)}`,
}
}