Update Startup.cs
This commit is contained in:
parent
32782cb421
commit
7f1350268a
|
|
@ -144,7 +144,7 @@ namespace BlazorServerWeb_CSharp
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
app.UseExceptionHandler("/Home/Error");
|
app.UseExceptionHandler("/Error");
|
||||||
#if (RequiresHttps)
|
#if (RequiresHttps)
|
||||||
// The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts.
|
// The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts.
|
||||||
app.UseHsts();
|
app.UseHsts();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue