Browse Source

switch dashboard to key off of SupportsHttps

Luke Pulverenti 10 năm trước cách đây
mục cha
commit
4ea72584db

+ 1 - 1
MediaBrowser.Model/System/SystemInfo.cs

@@ -126,7 +126,7 @@ namespace MediaBrowser.Model.System
         /// Gets or sets a value indicating whether [enable HTTPS].
         /// </summary>
         /// <value><c>true</c> if [enable HTTPS]; otherwise, <c>false</c>.</value>
-        public bool EnableHttps { get; set; }
+        public bool SupportsHttps { get; set; }
 
         /// <summary>
         /// Gets or sets the HTTPS server port number.

+ 1 - 1
MediaBrowser.Server.Startup.Common/ApplicationHost.cs

@@ -1007,7 +1007,7 @@ namespace MediaBrowser.Server.Startup.Common
                 CachePath = ApplicationPaths.CachePath,
                 MacAddress = GetMacAddress(),
                 HttpServerPortNumber = HttpPort,
-                EnableHttps = EnableHttps,
+                SupportsHttps = SupportsHttps,
                 HttpsPortNumber = HttpsPort,
                 OperatingSystem = OperatingSystemDisplayName,
                 CanSelfRestart = CanSelfRestart,