mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-01 09:56:22 +01:00
Register ServiceController with the DI framework
This commit is contained in:
parent
dc2b8c4646
commit
6f8c81ff7e
1 changed files with 2 additions and 0 deletions
|
|
@ -43,6 +43,7 @@ using Emby.Server.Implementations.Playlists;
|
|||
using Emby.Server.Implementations.ScheduledTasks;
|
||||
using Emby.Server.Implementations.Security;
|
||||
using Emby.Server.Implementations.Serialization;
|
||||
using Emby.Server.Implementations.Services;
|
||||
using Emby.Server.Implementations.Session;
|
||||
using Emby.Server.Implementations.SocketSharp;
|
||||
using Emby.Server.Implementations.TV;
|
||||
|
|
@ -758,6 +759,7 @@ namespace Emby.Server.Implementations
|
|||
CertificateInfo = GetCertificateInfo(true);
|
||||
Certificate = GetCertificate(CertificateInfo);
|
||||
|
||||
serviceCollection.AddSingleton<ServiceController>();
|
||||
serviceCollection.AddSingleton<IHttpListener, WebSocketSharpListener>();
|
||||
serviceCollection.AddSingleton<IHttpServer, HttpListenerHost>();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue