We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0fffa7f + 664b71f commit b114cadCopy full SHA for b114cad
src/api/util/utility/EmbedHandlers.ts
@@ -196,6 +196,7 @@ export const EmbedHandlers: {
196
if (!metas.image) metas.image = metas.image_fallback;
197
198
if (metas.image && (!metas.width || !metas.height)) {
199
+ metas.image = new URL(metas.image, url).toString();
200
const result = await probe(metas.image);
201
metas.width = result.width;
202
metas.height = result.height;
0 commit comments