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
Kasper Seweryn 2023-06-16 18:04:27 +00:00 zatwierdzone przez Marge
rodzic 58d48a061e
commit 9027f8af73
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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}`