@ -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(