From 419aae741de4ac38e543430b4ee87c772c279e4a Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Sat, 12 Aug 2023 20:40:46 +0100 Subject: [PATCH] fix: use shared assets in root site --- OliverBooth/Program.cs | 3 +++ 1 file changed, 3 insertions(+) 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();