File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/note-block Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -274,7 +274,7 @@ function getEmbedInfo(url: string): EmbedInfo | null {
274274 const bandcampTrackMatch = url . match ( / ( [ a - z A - Z 0 - 9 - ] + ) \. b a n d c a m p \. c o m \/ t r a c k \/ ( [ a - z A - Z 0 - 9 - ] + ) / )
275275 if ( bandcampTrackMatch ) {
276276 return {
277- url : `https://bandcamp.com/EmbeddedPlayer/track=${ bandcampTrackMatch [ 2 ] } /size=large/bgcol=333333/linkcol=0f91ff/tracklist=false/transparent=true/` ,
277+ url : `https://bandcamp.com/EmbeddedPlayer/artist= ${ bandcampTrackMatch [ 1 ] } / track=${ bandcampTrackMatch [ 2 ] } /size=large/bgcol=333333/linkcol=0f91ff/tracklist=false/transparent=true/` ,
278278 type : 'iframe' ,
279279 aspectRatio : '1/1' ,
280280 }
@@ -283,7 +283,7 @@ function getEmbedInfo(url: string): EmbedInfo | null {
283283 const bandcampAlbumMatch = url . match ( / ( [ a - z A - Z 0 - 9 - ] + ) \. b a n d c a m p \. c o m \/ a l b u m \/ ( [ a - z A - Z 0 - 9 - ] + ) / )
284284 if ( bandcampAlbumMatch ) {
285285 return {
286- url : `https://bandcamp.com/EmbeddedPlayer/album=${ bandcampAlbumMatch [ 2 ] } /size=large/bgcol=333333/linkcol=0f91ff/transparent=true/` ,
286+ url : `https://bandcamp.com/EmbeddedPlayer/artist= ${ bandcampAlbumMatch [ 1 ] } / album=${ bandcampAlbumMatch [ 2 ] } /size=large/bgcol=333333/linkcol=0f91ff/transparent=true/` ,
287287 type : 'iframe' ,
288288 aspectRatio : '1/1' ,
289289 }
You can’t perform that action at this time.
0 commit comments