https redirection
This commit is contained in:
@ -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(
|
||||
|
Reference in New Issue
Block a user