From e8fd6f65bf255c55c1ca509f9fe59c2c7875c394 Mon Sep 17 00:00:00 2001 From: jb-alvarado Date: Tue, 2 Jul 2024 21:40:55 +0200 Subject: [PATCH] rename preview url --- components/ConfigChannel.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ConfigChannel.vue b/components/ConfigChannel.vue index 72f89fc0..3bbdd8ea 100644 --- a/components/ConfigChannel.vue +++ b/components/ConfigChannel.vue @@ -77,7 +77,7 @@ async function addChannel() { newChannel.id = channels.length + 1 newChannel.name = `Channel ${Math.random().toString(36).substring(7)}` - newChannel.preview_url = `${window.location.protocol}//${window.location.host}/stream.m3u8` + newChannel.preview_url = `${window.location.protocol}//${window.location.host}/live/${newChannel.id}/stream.m3u8` channels.push(newChannel) configStore.configChannel = channels