I'm busy with a Umbraco 13 website and I need to add app.UseHsts() to the program.cs file. Where is the best place to add it, should it be before or after app.BootUmbracoAsync()
if (app.Environment.IsDevelopment())
{
app.UseDeveloperExceptionPage();
}
else
{
app.UseHsts();
}
Any suggestions will be greatly appreciated.