diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Server/Boilerplate.Server.Web/Program.Middlewares.cs b/src/Templates/Boilerplate/Bit.Boilerplate/src/Server/Boilerplate.Server.Web/Program.Middlewares.cs index 8642791be8..4971e04ae7 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Server/Boilerplate.Server.Web/Program.Middlewares.cs +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Server/Boilerplate.Server.Web/Program.Middlewares.cs @@ -75,7 +75,6 @@ public static void ConfigureMiddlewares(this WebApplication app) if (context.Request.Query.Any(q => string.Equals(q.Key, "v", StringComparison.InvariantCultureIgnoreCase)) && env.WebRootFileProvider.GetFileInfo(context.Request.Path).Exists) { - context.Request.Headers.AcceptEncoding = new(["br"]); context.Response.OnStarting(async () => { context.Response.GetTypedHeaders().CacheControl = new()