kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
style: remove whitespaces at the end of the lines
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2493>environments/review-docs-merge-hoc7bt/deployments/18064
rodzic
58d48a061e
commit
9027f8af73
|
@ -74,8 +74,8 @@
|
|||
// that do not support other codecs to be able to play it :)
|
||||
if (sources.length > 0 && !sources.some(({ mimetype }) => mimetype === 'audio/mpeg')) {
|
||||
const source = sources[0].listen_url
|
||||
const url = new URL(source.test(/^https?:/)
|
||||
? source
|
||||
const url = new URL(source.test(/^https?:/)
|
||||
? source
|
||||
: source[0] === '/'
|
||||
? `${baseUrl}${source}`
|
||||
: `${baseUrl}/${source}`
|
||||
|
|
Ładowanie…
Reference in New Issue