aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Program.cs
diff options
context:
space:
mode:
authorcvium <clausvium@gmail.com>2020-10-06 14:44:07 +0200
committercvium <clausvium@gmail.com>2020-10-06 14:44:07 +0200
commit38cb8fee8a91c96f37199c64c7ef9414f7466112 (patch)
tree25ab817ff1ea7d3e4a467394dc647b3e73f80a70 /Jellyfin.Server/Program.cs
parent5e11eb035995b659b641b79e8256a90f962a4d5b (diff)
Fix IWebSocketListener service registration
Diffstat (limited to 'Jellyfin.Server/Program.cs')
-rw-r--r--Jellyfin.Server/Program.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server/Program.cs b/Jellyfin.Server/Program.cs
index c933d679f..5573c0439 100644
--- a/Jellyfin.Server/Program.cs
+++ b/Jellyfin.Server/Program.cs
@@ -378,7 +378,7 @@ namespace Jellyfin.Server
.ConfigureServices(services =>
{
// Merge the external ServiceCollection into ASP.NET DI
- services.TryAdd(serviceCollection);
+ services.Add(serviceCollection);
})
.UseStartup<Startup>();
}