From 253cc4a72c3a4de596baa9b4cac9e28458c92edc Mon Sep 17 00:00:00 2001 From: Claudia Murialdo Date: Wed, 24 Apr 2024 14:34:29 -0300 Subject: [PATCH] Add mapping for ini files. --- dotnet/src/dotnetcore/GxNetCoreStartup/Startup.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/dotnet/src/dotnetcore/GxNetCoreStartup/Startup.cs b/dotnet/src/dotnetcore/GxNetCoreStartup/Startup.cs index 819ca275f..b90fd4050 100644 --- a/dotnet/src/dotnetcore/GxNetCoreStartup/Startup.cs +++ b/dotnet/src/dotnetcore/GxNetCoreStartup/Startup.cs @@ -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();