refacto site settings
Some checks failed
Dotnet build and test / build (pull_request) Failing after 11m10s
Some checks failed
Dotnet build and test / build (pull_request) Failing after 11m10s
This commit is contained in:
parent
3e7e76edf2
commit
8faabbb5ff
28 changed files with 256 additions and 224 deletions
|
|
@ -21,7 +21,6 @@ internal class Program
|
|||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
builder.AddConfiguration("api");
|
||||
Config.SiteSetup = builder.Configuration.GetSection("Site").Get<SiteSettings>() ?? new SiteSettings();
|
||||
|
||||
var services = builder.Services;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue