mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Merge pull request #2019 from Bond-009/baseurlhotfix
Remove leading / from baseurl (cherry picked from commit 0836241e9081afa58fcbf027cb524c6fd5ad04f2) Signed-off-by: Joshua Boniface <joshua@boniface.me>
This commit is contained in:
parent
fb6b103164
commit
ffd7835ab5
@ -220,7 +220,7 @@ namespace Emby.Dlna.Api
|
||||
{
|
||||
index++;
|
||||
}
|
||||
else if (string.Equals(first, baseUrl))
|
||||
else if (string.Equals(first, baseUrl.Remove(0, 1)))
|
||||
{
|
||||
index++;
|
||||
var second = pathInfo[1];
|
||||
|
@ -306,7 +306,7 @@ namespace MediaBrowser.Api
|
||||
{
|
||||
index++;
|
||||
}
|
||||
else if (string.Equals(first, baseUrl))
|
||||
else if (string.Equals(first, baseUrl.Remove(0, 1)))
|
||||
{
|
||||
index++;
|
||||
var second = pathInfo[1];
|
||||
|
Loading…
x
Reference in New Issue
Block a user