https redirection
This commit is contained in:
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…
Add table
Add a link
Reference in a new issue