mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Merge pull request #2400 from Bond-009/baseurl
Another baseurl related fix
This commit is contained in:
commit
cf2626428c
@ -1522,7 +1522,7 @@ namespace Emby.Server.Implementations
|
|||||||
string baseUrl = ServerConfigurationManager.Configuration.BaseUrl;
|
string baseUrl = ServerConfigurationManager.Configuration.BaseUrl;
|
||||||
if (baseUrl.Length != 0)
|
if (baseUrl.Length != 0)
|
||||||
{
|
{
|
||||||
url.Append('/').Append(baseUrl);
|
url.Append(baseUrl);
|
||||||
}
|
}
|
||||||
|
|
||||||
return url.ToString();
|
return url.ToString();
|
||||||
|
@ -165,6 +165,7 @@ namespace MediaBrowser.Model.Configuration
|
|||||||
public bool SkipDeserializationForBasicTypes { get; set; }
|
public bool SkipDeserializationForBasicTypes { get; set; }
|
||||||
|
|
||||||
public string ServerName { get; set; }
|
public string ServerName { get; set; }
|
||||||
|
|
||||||
public string BaseUrl
|
public string BaseUrl
|
||||||
{
|
{
|
||||||
get => _baseUrl;
|
get => _baseUrl;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user