Update Wavlake embed to support .com links
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
const WavlakeEmbed = ({ link }: { link: string }) => {
|
||||
const convertedUrl = link.replace("player.wavlake.com", "embed.wavlake.com");
|
||||
const convertedUrl = link.replace(/(?:player\.)?wavlake\.com/, "embed.wavlake.com");
|
||||
|
||||
return (
|
||||
<iframe
|
||||
|
Reference in New Issue
Block a user