Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ysmoradi committed Jan 26, 2025
1 parent 1ae6662 commit 7939c7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public static void AddServerApiProjectServices(this WebApplicationBuilder builde
{
options.AddPolicy("AppResponseCachePolicy", policy =>
{
var builder = policy.AddPolicy<AppResponseCachePolicy>().SetVaryByHeader(HeaderNames.AcceptLanguage);
var builder = policy.AddPolicy<AppResponseCachePolicy>();

if (CultureInfoManager.MultilingualEnabled)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public static void AddServerWebProjectServices(this WebApplicationBuilder builde
{
options.AddPolicy("AppResponseCachePolicy", policy =>
{
var builder = policy.AddPolicy<AppResponseCachePolicy>().SetVaryByHeader(HeaderNames.AcceptLanguage);
var builder = policy.AddPolicy<AppResponseCachePolicy>();

if (CultureInfoManager.MultilingualEnabled)
{
Expand Down

0 comments on commit 7939c7f

Please sign in to comment.