This commit is contained in:
zmeyer44 2023-12-18 20:29:24 -05:00
parent d8214433e0
commit bec2f27246

View File

@ -49,6 +49,8 @@ const RenderText = ({ text }: { text?: string }) => {
{cleanUrl(currentValue)}
</a>
);
} else if (currentValue.includes(".mp4")) {
specialElement = <VideoUrl className="my-1" url={currentValue} />;
} else if (["m", "i", "image", "flockstr", "cdn"].includes(subdomain)) {
specialElement = <ImageUrl className="my-1" url={currentValue} />;
} else if (["v", "video"].includes(subdomain)) {