Removing UseHsts

This commit is contained in:
Eugenio Chiodo 2021-04-26 19:47:10 +02:00
parent cfc3550c99
commit ce0937af49

View File

@ -43,11 +43,6 @@ namespace drinkMe.Server
app.UseDeveloperExceptionPage();
app.UseWebAssemblyDebugging();
}
else
{
// 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.UseHttpsRedirection();
app.UseBlazorFrameworkFiles();