diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-01-18 23:53:28 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-01-18 23:53:28 -0500 |
| commit | 87314ec101282bfe45c9b3c5b0a09cbd611d4ce8 (patch) | |
| tree | 15bc66461d516c583e22738d7f11b00a38a18c6a /MediaBrowser.Server.Implementations/Connect | |
| parent | de76156391655f726b5655f727e06822398827ca (diff) | |
added public https port setting
Diffstat (limited to 'MediaBrowser.Server.Implementations/Connect')
| -rw-r--r-- | MediaBrowser.Server.Implementations/Connect/ConnectManager.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/Connect/ConnectManager.cs b/MediaBrowser.Server.Implementations/Connect/ConnectManager.cs index d3a29f420..1cc3365e5 100644 --- a/MediaBrowser.Server.Implementations/Connect/ConnectManager.cs +++ b/MediaBrowser.Server.Implementations/Connect/ConnectManager.cs @@ -81,7 +81,10 @@ namespace MediaBrowser.Server.Implementations.Connect ip = (_appHost.EnableHttps ? "https://" : "http://") + ip; } - return ip + ":" + _config.Configuration.PublicPort.ToString(CultureInfo.InvariantCulture); + ip += ":"; + ip += _appHost.EnableHttps ? _config.Configuration.PublicHttpsPort.ToString(CultureInfo.InvariantCulture) : _config.Configuration.PublicPort.ToString(CultureInfo.InvariantCulture); + + return ip; } return null; |
