mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 05:57:20 -04:00
Remove leading / from baseurl
This commit is contained in:
parent
c87f459ec2
commit
5ee070eb29
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue