diff options
| author | Bond_009 <Bond.009@outlook.com> | 2020-02-12 20:57:34 +0100 |
|---|---|---|
| committer | Bond_009 <Bond.009@outlook.com> | 2020-02-12 20:57:34 +0100 |
| commit | f5db4c8402ffbbcd7a9837b9cecc01a74e778043 (patch) | |
| tree | 9d2e15386ceeab17e29b0582cf63f2d8bf9d267b /Emby.Server.Implementations/ApplicationHost.cs | |
| parent | 662e1164c916098fd39469569c64f88126bedc65 (diff) | |
Another baseurl related fix
Baseurl always starts with a '/' (unless it's empty)
Diffstat (limited to 'Emby.Server.Implementations/ApplicationHost.cs')
| -rw-r--r-- | Emby.Server.Implementations/ApplicationHost.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.cs index e2df8877a..0837db251 100644 --- a/Emby.Server.Implementations/ApplicationHost.cs +++ b/Emby.Server.Implementations/ApplicationHost.cs @@ -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(); |
