summaryrefslogtreecommitdiff
path: root/Program.cs
diff options
context:
space:
mode:
authorJake Mannens <jake@asger.xyz>2023-08-22 10:00:21 +1000
committerJake Mannens <jake@asger.xyz>2025-08-18 17:03:21 +1000
commitff715df3ccda51c1bb3d4b84f4391b4fdd1962dd (patch)
tree00cca236a9036896dc7a1d3688311c65f96159d8 /Program.cs
parent4558ed9d6cbc59229cd56cc7a6c36b1df0b8199a (diff)
Finalised initial implementation of NSFW tag filtering
Diffstat (limited to 'Program.cs')
-rw-r--r--Program.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Program.cs b/Program.cs
index 4796825..b5d29af 100644
--- a/Program.cs
+++ b/Program.cs
@@ -19,6 +19,7 @@ public class Program {
builder.Services.AddDbContextFactory<HBContext>();
builder.Services.AddScoped<ISearchService, SearchService>();
builder.Services.AddScoped<ITagService, TagService>();
+ builder.Services.AddSingleton<IUserStateService, UserStateService>();
var app = builder.Build();