mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-23 10:36:43 +00:00
Merge branch 'dev' of https://github.com/MediaBrowser/MediaBrowser into dev
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user