rename preview url
This commit is contained in:
parent
7d0bfa9d36
commit
e8fd6f65bf
@ -77,7 +77,7 @@ async function addChannel() {
|
|||||||
|
|
||||||
newChannel.id = channels.length + 1
|
newChannel.id = channels.length + 1
|
||||||
newChannel.name = `Channel ${Math.random().toString(36).substring(7)}`
|
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)
|
channels.push(newChannel)
|
||||||
configStore.configChannel = channels
|
configStore.configChannel = channels
|
||||||
|
Loading…
x
Reference in New Issue
Block a user