Skip to content

Commit

Permalink
Before UseHsts
Browse files Browse the repository at this point in the history
  • Loading branch information
Expecho committed Dec 11, 2024
1 parent b340880 commit 176d849
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PolicyInitiativeBuilder/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,14 @@
if (!app.Environment.IsDevelopment())
{
app.UseExceptionHandler("/Error", createScopeForErrors: true);
app.UseForwardedHeaders();
app.UseHsts();
}

app.UseHttpsRedirection();
app.UseStaticFiles();
app.UseRouting();
app.UseAntiforgery();
app.UseForwardedHeaders();
app.MapControllers();
app.MapRazorPages();
app.MapStaticAssets();
Expand Down

0 comments on commit 176d849

Please sign in to comment.