mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-27 04:16:47 +00:00
If using https make remote url reflect that.
This commit is contained in:
parent
bb02d68ceb
commit
02eb692c37
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ namespace MediaBrowser.Server.Implementations.Connect
|
|||
if (!ip.StartsWith("http://", StringComparison.OrdinalIgnoreCase) &&
|
||||
!ip.StartsWith("https://", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
ip = "http://" + ip;
|
||||
ip = (_config.Configuration.UseHttps ? "https://" : "http://") + ip;
|
||||
}
|
||||
|
||||
return ip + ":" + _config.Configuration.PublicPort.ToString(CultureInfo.InvariantCulture);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue