Don't require that images be sourced from vercel
This commit is contained in:
parent
e85efff72d
commit
e7f8267b35
|
@ -62,11 +62,5 @@ function getDefaultImages(images: string[], theme: Theme): string[] {
|
|||
if (!images || !images[0]) {
|
||||
return [defaultImage];
|
||||
}
|
||||
if (
|
||||
!images[0].startsWith("https://assets.vercel.com/") &&
|
||||
!images[0].startsWith("https://assets.zeit.co/")
|
||||
) {
|
||||
images[0] = defaultImage;
|
||||
}
|
||||
return images;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user