Răsfoiți Sursa

Use EnableHttps instead of CertificateInfo

Claus Vium 6 ani în urmă
părinte
comite
d450169964
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      Emby.Server.Implementations/ApplicationHost.cs

+ 1 - 1
Emby.Server.Implementations/ApplicationHost.cs

@@ -627,7 +627,7 @@ namespace Emby.Server.Implementations
                     options.Listen(IPAddress.Any, HttpPort);
                     options.Listen(IPAddress.Loopback, HttpPort);
 
-                    if (CertificateInfo != null)
+                    if (EnableHttps)
                     {
                         options.Listen(IPAddress.Any, HttpsPort, listenOptions => { listenOptions.UseHttps(Certificate); });
                         options.Listen(IPAddress.Loopback, HttpsPort, listenOptions => { listenOptions.UseHttps(Certificate); });