mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-03 18:06:38 -04:00
offload videos to vercel blob storage
This commit is contained in:
@ -19,7 +19,7 @@ const Image = ({ src, height, width, placeholder, className, ...rest }: ImagePro
|
||||
src,
|
||||
height,
|
||||
width: constrainWidth(width || (src as StaticImageData).width),
|
||||
placeholder: placeholder || (typeof src === "string" ? "empty" : "blur"),
|
||||
placeholder: placeholder || (typeof src === "object" && "blurDataURL" in src ? "blur" : "empty"),
|
||||
...rest,
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user