refacto site settings
Some checks failed
Dotnet build and test / build (pull_request) Failing after 11m10s

This commit is contained in:
Paul Schneider 2026-09-17 22:22:18 +01:00
commit 8faabbb5ff
Signed by: notazof
GPG key ID: 1DD5D838E5343B06
28 changed files with 256 additions and 224 deletions

View file

@ -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;