diff --git a/ui/util/livestream.js b/ui/util/livestream.js index 34dc7662f..5b63f0990 100644 --- a/ui/util/livestream.js +++ b/ui/util/livestream.js @@ -97,7 +97,7 @@ export const fetchLiveChannels = async (): Promise => { */ export const fetchLiveChannel = async (channelId: string): Promise => { const newApiEndpoint = LIVESTREAM_LIVE_API; - const newApiResponse = await fetch(`${newApiEndpoint}/${channelId}`); + const newApiResponse = await fetch(`${newApiEndpoint}/${channelId}?1`); const newApiData = (await newApiResponse.json()).data; const isLive = newApiData.live; diff --git a/web/src/livestreaming/index.js b/web/src/livestreaming/index.js index 1b8fd4f2d..6ba4e19f3 100644 --- a/web/src/livestreaming/index.js +++ b/web/src/livestreaming/index.js @@ -46,7 +46,7 @@ export const killStream = async (channelId: string, channelName: string) => { export const isLiveStreaming = async (channelId: string): Promise => { try { - const response = await fetch(`${LIVESTREAM_LIVE_API}/${channelId}`); + const response = await fetch(`${LIVESTREAM_LIVE_API}/${channelId}?1`); const stream = await response.json(); return stream.data?.live; } catch {