Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

Commit

Permalink
VP-5640: Set right order for UseForwardedHeaders() middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
trueboroda committed Nov 6, 2020
1 parent a7d1adb commit cfd57e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion VirtoCommerce.Storefront/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,8 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
else
{
app.UseExceptionHandler("/error/500");
app.UseHsts();
app.UseForwardedHeaders();
app.UseHsts();
}
// Do not write telemetry to debug output
TelemetryDebugWriter.IsTracingDisabled = true;
Expand Down

0 comments on commit cfd57e9

Please sign in to comment.