Add comments regarding HSTS max age
Commit migrated from dotnet/aspnetcore@11c6ebea2e
This commit is contained in:
Родитель
f8a4143e0a
Коммит
c6864cd03d
|
@ -42,6 +42,7 @@ namespace Company.WebApplication1
|
|||
{
|
||||
app.UseExceptionHandler("/Error");
|
||||
#if (!NoHttps)
|
||||
// The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts.
|
||||
app.UseHsts();
|
||||
}
|
||||
|
||||
|
|
|
@ -42,6 +42,7 @@ namespace Company.WebApplication1
|
|||
{
|
||||
app.UseExceptionHandler("/Error");
|
||||
#if (!NoHttps)
|
||||
// The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts.
|
||||
app.UseHsts();
|
||||
}
|
||||
|
||||
|
|
|
@ -42,6 +42,7 @@ namespace Company.WebApplication1
|
|||
{
|
||||
app.UseExceptionHandler("/Error");
|
||||
#if (!NoHttps)
|
||||
// The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts.
|
||||
app.UseHsts();
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче