Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ysmoradi committed Nov 8, 2024
1 parent 91580da commit 65a3de0
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 65a3de0

Please sign in to comment.