mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 02:18:54 -07:00
Merge pull request #2019 from Bond-009/baseurlhotfix
Remove leading / from baseurl
This commit is contained in:
commit
0836241e90
@ -220,7 +220,7 @@ namespace Emby.Dlna.Api
|
|||||||
{
|
{
|
||||||
index++;
|
index++;
|
||||||
}
|
}
|
||||||
else if (string.Equals(first, baseUrl))
|
else if (string.Equals(first, baseUrl.Remove(0, 1)))
|
||||||
{
|
{
|
||||||
index++;
|
index++;
|
||||||
var second = pathInfo[1];
|
var second = pathInfo[1];
|
||||||
|
@ -306,7 +306,7 @@ namespace MediaBrowser.Api
|
|||||||
{
|
{
|
||||||
index++;
|
index++;
|
||||||
}
|
}
|
||||||
else if (string.Equals(first, baseUrl))
|
else if (string.Equals(first, baseUrl.Remove(0, 1)))
|
||||||
{
|
{
|
||||||
index++;
|
index++;
|
||||||
var second = pathInfo[1];
|
var second = pathInfo[1];
|
||||||
|
Loading…
Reference in New Issue
Block a user