summary refs log tree commit diff
path: root/extra/admin-api/Spacebar.Cdn/Program.cs
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2026-04-11 21:38:36 +0200
committerRory& <root@rory.gay>2026-04-11 21:39:47 +0200
commit1d7627454675c9ebfa7c1a9c5add79f8fcf36691 (patch)
treee866e38e88119c9ef70abd4452d6049a57459b5c /extra/admin-api/Spacebar.Cdn/Program.cs
parentFunctioning CDN-CS workers (diff)
downloadserver-ts-1d7627454675c9ebfa7c1a9c5add79f8fcf36691.tar.xz
Cdn cs worker cleanup
Diffstat (limited to 'extra/admin-api/Spacebar.Cdn/Program.cs')
-rw-r--r--extra/admin-api/Spacebar.Cdn/Program.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/admin-api/Spacebar.Cdn/Program.cs b/extra/admin-api/Spacebar.Cdn/Program.cs

index 61a5c07b..911c7259 100644 --- a/extra/admin-api/Spacebar.Cdn/Program.cs +++ b/extra/admin-api/Spacebar.Cdn/Program.cs
@@ -13,8 +13,8 @@ if (!string.IsNullOrWhiteSpace(Environment.GetEnvironmentVariable("APPSETTINGS_P // builder.Services.AddSingleton<IFileSource>(new ProxyFileSource("http://cdn.old.server.spacebar.chat")); builder.Services.AddSingleton<IFileSource>(new FilesystemFileSource(Environment.GetEnvironmentVariable("STORAGE_PATH") ?? throw new InvalidOperationException("STORAGE_PATH not set!"))); builder.Services.AddSingleton<LruFileCache>(new LruFileCache(1 * 1024 * 1024 * 1024)); -builder.Services.AddSingleton<PixelArtDetectionService>(); builder.Services.AddSingleton<DiscordImageResizeService>(); +builder.Services.AddSingleton<PixelArtDetectionService>(); builder.Services.AddDbContextPool<SpacebarDbContext>(options => { options