You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (imageUrl?.startsWith('/') ||imageUrl?.startsWith('.')) {
13
17
imageUrl=readPublicAsset(imageUrl, true);
14
18
15
19
if (!imageUrl) {
16
-
console.warn(`Image ${meta.image} not found in "/public" folder`);
20
+
console.warn(`\nImage ${meta.image} not found in "/public" folder`);
17
21
}
18
22
}
19
23
20
-
imageUrl??=readLogoFile('logo', true);
24
+
imageUrl??=DEFAULT_OG_IMAGE;
25
+
21
26
if (imageUrl?.endsWith('.svg')) {
22
-
console.warn(`Using a SVG open graph image "${imageUrl}". This is not supported by most social platforms.
23
-
You should rather set "meta.image" to a raster image (PNG, WEBP).`);
27
+
console.warn(
28
+
`\nUsing a SVG open graph image "${imageUrl}". This is not supported by most social platforms. You should rather set "meta.image" to a raster image (PNG, WEBP).`,
0 commit comments