Local Passwords validation
This commit is contained in:
parent
ce8f3ebce0
commit
8132db37d0
163 changed files with 1812 additions and 4772 deletions
|
|
@ -1,5 +1,6 @@
|
|||
|
||||
using Microsoft.AspNetCore;
|
||||
using Yavsc.Extensions;
|
||||
|
||||
namespace Yavsc
|
||||
{
|
||||
|
|
@ -8,9 +9,13 @@ namespace Yavsc
|
|||
public static void Main(string[] args)
|
||||
{
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
var app = builder
|
||||
.ConfigureServices()
|
||||
.ConfigurePipeline();
|
||||
builder.Configuration
|
||||
.AddEnvironmentVariables()
|
||||
.AddJsonFile("appsettings.json")
|
||||
.AddJsonFile($"appsettings.{builder.Environment.EnvironmentName}.json", optional: true)
|
||||
.AddEnvironmentVariables().Build();
|
||||
var app = builder.ConfigureServices().ConfigurePipeline();
|
||||
app.UseSession();
|
||||
app.Run();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue