diff --git a/front/public/embed.html b/front/public/embed.html
index 2d13aee3b..358353c44 100644
--- a/front/public/embed.html
+++ b/front/public/embed.html
@@ -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}`