diff --git a/src/features/MatchPage/components/LiveMatch/hooks/index.tsx b/src/features/MatchPage/components/LiveMatch/hooks/index.tsx index eeda07dc..d6b046b0 100644 --- a/src/features/MatchPage/components/LiveMatch/hooks/index.tsx +++ b/src/features/MatchPage/components/LiveMatch/hooks/index.tsx @@ -2,6 +2,8 @@ import { useMemo } from 'react' import { API_ROOT } from 'config' +import { readToken } from 'helpers/token' + import { usePageParams } from 'hooks/usePageParams' import { useMatchPageStore } from 'features/MatchPage/store' @@ -32,7 +34,7 @@ export const useLiveMatch = () => { const { chapters } = useChapters({ profile, selectedPlaylist, - url: `${API_ROOT}/video/stream/${sportType}/${matchId}.m3u8`, + url: `${API_ROOT}/video/stream/${sportType}/${matchId}.m3u8?access_token=${readToken()}`, }) const {