https redirection

broken/ef 1.0.0
Paul Schneider 2 years ago
parent 6c9f29bc56
commit 97eba2390e
1 changed files with 3 additions and 2 deletions

@ -112,11 +112,12 @@ namespace isnd
}
else
{
// app.UseExceptionHandler("/Home/Error");
app.UseDeveloperExceptionPage();
app.UseExceptionHandler("/Home/Error");
app.UseHsts();
dbContext.Database.Migrate();
}
app.UseHttpsRedirection();
app.UseStatusCodePages().UseStaticFiles().UseAuthentication().UseMvc(routes =>
{
routes.MapRoute(

Loading…