Skip to content

Commit

Permalink
v1.2.12
Browse files Browse the repository at this point in the history
- set MIME type to *application/x-mpegURL* for *.m3u8*
- updated deps
  • Loading branch information
genemars committed Sep 4, 2023
1 parent 623a5fb commit ba01454
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
8 changes: 4 additions & 4 deletions MIG.Tests/MIG.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@

<ItemGroup>
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0" />
<PackageReference Include="NUnit" Version="3.13.2" />
<PackageReference Include="NUnit3TestAdapter" Version="4.0.0" />
<PackageReference Include="coverlet.collector" Version="3.2.0">
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Include="NUnit" Version="3.13.3" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageReference Include="coverlet.collector" Version="6.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
4 changes: 4 additions & 0 deletions MIG/Gateways/WebServiceGateway.cs
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,10 @@ private void Worker(object state)
{
response.ContentType = "audio/x-wav";
}
else if (url.ToLower().EndsWith(".m3u8"))
{
response.ContentType = "application/x-mpegURL";
}
else if (url.ToLower().EndsWith(".appcache"))
{
response.ContentType = "text/cache-manifest";
Expand Down
6 changes: 3 additions & 3 deletions MIG/MIG.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@

<ItemGroup>
<PackageReference Include="WebsocketSharp.Standard2" Version="2022.4.16.1520" />
<PackageReference Include="MessagePack" Version="2.5.108" />
<PackageReference Include="MessagePack.Annotations" Version="2.5.108" />
<PackageReference Include="MessagePack" Version="2.5.124" />
<PackageReference Include="MessagePack.Annotations" Version="2.5.124" />
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="NLog.Extensions.Logging" Version="5.2.3" />
<PackageReference Include="NLog.Extensions.Logging" Version="5.3.3" />
<PackageReference Include="Ude.NetStandard" Version="1.2.0" />
</ItemGroup>

Expand Down

0 comments on commit ba01454

Please sign in to comment.