From 5d3f269b43d7b9b7364eac79892266a6e6568194 Mon Sep 17 00:00:00 2001 From: hzrd149 Date: Tue, 7 Feb 2023 17:04:18 -0600 Subject: [PATCH] add support for spotify podcast episodes --- src/components/post/post-contents.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/post/post-contents.tsx b/src/components/post/post-contents.tsx index b4d6c7f1d..cc068c015 100644 --- a/src/components/post/post-contents.tsx +++ b/src/components/post/post-contents.tsx @@ -55,7 +55,7 @@ const embeds: { }, // Spotify { - regexp: /https?:\/\/open\.spotify\.com\/track\/(\w+)[^\s]+/im, + regexp: /https?:\/\/open\.spotify\.com\/(track|episode)\/(\w+)[^\s]+/im, render: (match) => ( ), },