Merge pull request #2400 from Bond-009/baseurl

Another baseurl related fix
This commit is contained in:
dkanada 2020-02-14 01:16:52 +09:00 committed by GitHub
commit cf2626428c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -1522,7 +1522,7 @@ namespace Emby.Server.Implementations
string baseUrl = ServerConfigurationManager.Configuration.BaseUrl;
if (baseUrl.Length != 0)
{
url.Append('/').Append(baseUrl);
url.Append(baseUrl);
}
return url.ToString();

View File

@ -165,6 +165,7 @@ namespace MediaBrowser.Model.Configuration
public bool SkipDeserializationForBasicTypes { get; set; }
public string ServerName { get; set; }
public string BaseUrl
{
get => _baseUrl;