Improve reliability of embed regex (missing start char)

This commit is contained in:
Tom Moor
2023-07-08 12:04:03 -04:00
parent 6bc1b789ee
commit 98a182c892
10 changed files with 13 additions and 11 deletions

View File

@@ -39,6 +39,6 @@ const SpotifyFrame = styled(Frame)`
border-radius: 13px;
`;
Spotify.ENABLED = [new RegExp("https?://open\\.spotify\\.com/(.*)$")];
Spotify.ENABLED = [new RegExp("^https?://open\\.spotify\\.com/(.*)$")];
export default Spotify;