Allow images from public folder
This commit is contained in:
@ -22,7 +22,7 @@ export const findImage = async (imagePath?: string) => {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (imagePath.startsWith('http://') || imagePath.startsWith('https://')) {
|
if (imagePath.startsWith('http://') || imagePath.startsWith('https://') || imagePath.startsWith('/')) {
|
||||||
return imagePath;
|
return imagePath;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user