This commit is contained in:
zmeyer44 2023-11-14 12:09:56 -05:00
parent 18143071b2
commit 5ef4b070a8

View File

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