The Free Software Media System - Server Backend & API
Merge branch 'master' into httpclient
Bond-00973a9079ee27d
diff --cc Emby.Server.Implementations/ApplicationHost.csindex 0b4c161fdc,a265d5418f..4d5fc585d1--- a/Emby.Server.Implementations/ApplicationHost.cs+++ b/Emby.Server.Implementations/ApplicationHost.cs@@@ -1472,8 -1492,7 +1492,8 @@@ namespace Emby.Server.ImplementationCancellationToken = cancellationToken}).ConfigureAwait(false)){- return GetWanApiUrl(response.ReadToEnd().Trim());+ string res = await response.ReadToEndAsync().ConfigureAwait(false);- return GetLocalApiUrl(res.Trim());++ return GetWanApiUrl(res.Trim());}}catch (Exception ex)