Skip to content

Commit

Permalink
Add mapping for ini files. (#1010)
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiamurialdo authored Apr 24, 2024
1 parent 9b820ab commit c7d684f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dotnet/src/dotnetcore/GxNetCoreStartup/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ public void Configure(IApplicationBuilder app, Microsoft.AspNetCore.Hosting.IHos
provider.Mappings[".usdz"] = "model/vnd.pixar.usd";
provider.Mappings[".sfb"] = "model/sfb";
provider.Mappings[".gltf"] = "model/gltf+json";
provider.Mappings[".ini"] = "text/plain";
if (GXUtil.CompressResponse())
{
app.UseResponseCompression();
Expand Down

0 comments on commit c7d684f

Please sign in to comment.