Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/946411be8e85344ad4f33fb7ffb9a1666cf8e6be
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
5 additions and
7 deletions
@ -2776,6 +2776,7 @@ namespace Emby.Server.Implementations.Library
public string GetPathAfterNetworkSubstitution ( string path , BaseItem ownerItem )
{
string newPath ;
if ( ownerItem ! = null )
{
var libraryOptions = GetLibraryOptions ( ownerItem ) ;
@ -2783,7 +2784,7 @@ namespace Emby.Server.Implementations.Library
{
foreach ( var pathInfo in libraryOptions . PathInfos )
{
if ( path . TryReplaceSubPath ( pathInfo . Path , pathInfo . NetworkPath , out var newPath ) )
if ( path . TryReplaceSubPath ( pathInfo . Path , pathInfo . NetworkPath , out newPath ) )
{
return newPath ;
}
@ -2794,17 +2795,14 @@ namespace Emby.Server.Implementations.Library
var metadataPath = _configurationManager . Configuration . MetadataPath ;
var metadataNetworkPath = _configurationManager . Configuration . MetadataNetworkPath ;
if ( ! string . IsNullOrWhiteSpace ( metadataPath ) & & ! string . IsNullOrWhiteSpace ( metadataNetwork Path) )
if ( path . TryReplaceSubPath ( metadataPath , metadataNetworkPath , out new Path) )
{
if ( path . TryReplaceSubPath ( metadataPath , metadataNetworkPath , out var newPath ) )
{
return newPath ;
}
return newPath ;
}
foreach ( var map in _configurationManager . Configuration . PathSubstitutions )
{
if ( path . TryReplaceSubPath ( map . From , map . To , out var newPath ) )
if ( path . TryReplaceSubPath ( map . From , map . To , out newPath ) )
{
return newPath ;
}