cambios denuncias
This commit is contained in:
@@ -4,6 +4,7 @@ using System.Text.RegularExpressions;
|
||||
using GestionaDenunciasAN.Components;
|
||||
using GestionaDenunciasAN.Configuration;
|
||||
using GestionaDenunciasAN.Models;
|
||||
using GestionaDenuncias.Shared.Models;
|
||||
using GestionaDenunciasAN.Services;
|
||||
using Microsoft.AspNetCore.Authentication;
|
||||
using Microsoft.AspNetCore.Authentication.Cookies;
|
||||
@@ -71,7 +72,10 @@ app.Use(async (context, next) =>
|
||||
await next();
|
||||
});
|
||||
|
||||
app.UseHttpsRedirection();
|
||||
if (builder.Configuration.GetValue("ForceHttpsRedirection", false))
|
||||
{
|
||||
app.UseHttpsRedirection();
|
||||
}
|
||||
app.UseStaticFiles();
|
||||
app.UseRouting();
|
||||
app.UseAuthentication();
|
||||
|
||||
Reference in New Issue
Block a user