Add Wavlake embed (#416)

* Add Wavlake embed

* Prettify edits
This commit is contained in:
Michael Rhee
2023-03-09 11:57:28 -06:00
committed by GitHub
parent 9b85f825e5
commit a3be3d0131
4 changed files with 27 additions and 1 deletions

View File

@ -165,3 +165,8 @@ export const NostrNestsRegex = /nostrnests\.com\/[a-zA-Z0-9]+/i;
* Magnet link parser
*/
export const MagnetRegex = /(magnet:[\S]+)/i;
/**
* Wavlake embed regex
*/
export const WavlakeRegex = /player\.wavlake\.com\/(track)\/([.a-zA-Z0-9-]+)/;