From 65a3de05b018575ae484d01e06cdebbf87e1467e Mon Sep 17 00:00:00 2001 From: Yaser Moradi Date: Fri, 8 Nov 2024 17:32:27 +0100 Subject: [PATCH] fix --- .../src/Server/Boilerplate.Server.Web/Program.Middlewares.cs | 1 - 1 file changed, 1 deletion(-) 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()