From 664b71f463a26c8161869149390433e07975f952 Mon Sep 17 00:00:00 2001 From: MathMan05 <73901602+MathMan05@users.noreply.github.com> Date: Sun, 23 Mar 2025 23:29:19 -0500 Subject: [PATCH] acatually fix the embed issue This one added the line in the right spot, sorry about the previous one lol --- src/api/util/utility/EmbedHandlers.ts | 1 + 1 file changed, 1 insertion(+) 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;