diff --git a/OliverBooth/Program.cs b/OliverBooth/Program.cs index cd0e8e2..0e8f589 100644 --- a/OliverBooth/Program.cs +++ b/OliverBooth/Program.cs @@ -1,6 +1,7 @@ using Markdig; using NLog; using NLog.Extensions.Logging; +using OliverBooth.Common; using OliverBooth.Common.Extensions; using OliverBooth.Data; using OliverBooth.Markdown.Template; @@ -13,6 +14,8 @@ builder.Configuration.AddTomlFile("data/config.toml", true, true); builder.Logging.ClearProviders(); builder.Logging.AddNLog(); + +builder.Services.ConfigureOptions(); builder.Services.AddHostedSingleton(); builder.Services.AddSingleton(); builder.Services.AddSingleton();