summary refs log tree commit diff
path: root/src/api
diff options
context:
space:
mode:
authorMathMan05 <73901602+MathMan05@users.noreply.github.com>2025-03-23 23:29:19 -0500
committerGitHub <noreply@github.com>2025-03-23 23:29:19 -0500
commit664b71f463a26c8161869149390433e07975f952 (patch)
treee80e169d49e03d26b086cc5c5c2ca2073ae24ca9 /src/api
parentMerge pull request #1217 from SupremeMortal/fix/message-ack (diff)
downloadserver-ts-664b71f463a26c8161869149390433e07975f952.tar.xz
acatually fix the embed issue
This one added the line in the right spot, sorry about the previous one lol
Diffstat (limited to 'src/api')
-rw-r--r--src/api/util/utility/EmbedHandlers.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/util/utility/EmbedHandlers.ts b/src/api/util/utility/EmbedHandlers.ts

index 450d9d7e..6dec3a1b 100644 --- a/src/api/util/utility/EmbedHandlers.ts +++ b/src/api/util/utility/EmbedHandlers.ts
@@ -196,6 +196,7 @@ export const EmbedHandlers: { if (!metas.image) metas.image = metas.image_fallback; if (metas.image && (!metas.width || !metas.height)) { + metas.image = new URL(metas.image, url).toString(); const result = await probe(metas.image); metas.width = result.width; metas.height = result.height;