浏览代码

switch dashboard to key off of SupportsHttps

Luke Pulverenti 10 年之前
父节点
当前提交
4ea72584db
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      MediaBrowser.Model/System/SystemInfo.cs
  2. 1 1
      MediaBrowser.Server.Startup.Common/ApplicationHost.cs

+ 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,