fix: use shared assets in root site

This commit is contained in:
Oliver Booth 2023-08-12 20:40:46 +01:00
parent 4c86a43a84
commit 419aae741d
Signed by: oliverbooth
GPG Key ID: B89D139977693FED
1 changed files with 3 additions and 0 deletions

View File

@ -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<OliverBoothConfigureOptions>();
builder.Services.AddHostedSingleton<LoggingService>();
builder.Services.AddSingleton<ConfigurationService>();
builder.Services.AddSingleton<TemplateService>();