File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/next/src/utilities Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -30,14 +30,14 @@ export const meta = async (args: MetaConfig & { serverURL: string }): Promise<an
30
30
type : 'image/png' ,
31
31
rel : 'icon' ,
32
32
sizes : '32x32' ,
33
- url : payloadFaviconDark ? .src ,
33
+ url : typeof payloadFaviconDark === 'object' ? payloadFaviconDark ? .src : payloadFaviconDark ,
34
34
} ,
35
35
{
36
36
type : 'image/png' ,
37
37
media : '(prefers-color-scheme: dark)' ,
38
38
rel : 'icon' ,
39
39
sizes : '32x32' ,
40
- url : payloadFaviconLight ? .src ,
40
+ url : typeof payloadFaviconLight === 'object' ? payloadFaviconLight ? .src : payloadFaviconLight ,
41
41
} ,
42
42
]
43
43
@@ -79,7 +79,7 @@ export const meta = async (args: MetaConfig & { serverURL: string }): Promise<an
79
79
{
80
80
alt : ogTitle ,
81
81
height : 480 ,
82
- url : staticOGImage . src ,
82
+ url : typeof staticOGImage === 'object' ? staticOGImage ? .src : staticOGImage ,
83
83
width : 640 ,
84
84
} ,
85
85
] ,
You can’t perform that action at this time.
0 commit comments