Skip to content

Commit

Permalink
Update M3U8.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
vynxc authored Nov 6, 2023
1 parent b7072cc commit 7d1a7dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion M3U8Proxy/Controllers/M3U8.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public async Task<IActionResult> GetM3U8(string url, string? headers = "{}",
$"{GenerateRandomId(10)}.m3u8");
}
HttpContext.Response.Headers.Add("Content-Type","application/vnd.apple.mpegurl");
HttpContext.Response.Headers.Add("Content-Length",finalContent.length);
HttpContext.Response.Headers.Add("Content-Length",finalContent.Length);
return Ok(finalContent);
}
catch (Exception e)
Expand Down

0 comments on commit 7d1a7dc

Please sign in to comment.