mirror of
https://github.com/vega-org/vega-providers.git
synced 2026-04-17 23:51:44 +00:00
fix: simplify link construction in getStream function
This commit is contained in:
@@ -26,7 +26,7 @@ export const getStream = async ({
|
||||
data?.sources.forEach((source: any) => {
|
||||
streamLinks.push({
|
||||
server: source.label,
|
||||
link: (baseUrl + source.file)?.replace(":su", ":ni"),
|
||||
link: source.file?.replace(":su", ":ni"),
|
||||
type: "m3u8",
|
||||
headers: {
|
||||
Referer: baseUrl,
|
||||
|
||||
Reference in New Issue
Block a user