Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/4a6378937f39d17a8755edba557ea256daf03380?style=split&whitespace=show-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
3 additions and
3 deletions
@ -108,7 +108,7 @@ namespace MediaBrowser.Api
if ( path . StartsWith ( NetworkPrefix , StringComparison . OrdinalIgnoreCase ) & & path . LastIndexOf ( '\\' ) = = 1 )
if ( path . StartsWith ( NetworkPrefix , StringComparison . OrdinalIgnoreCase ) & & path . LastIndexOf ( '\\' ) = = 1 )
{
{
return ToOptimizedResult ( GetNetworkShares ( path ) . ToList( ) ) ;
return ToOptimizedResult ( GetNetworkShares ( path ) . OrderBy( i = > i . Path ) . ToList( ) ) ;
}
}
// Reject invalid input
// Reject invalid input
@ -117,7 +117,7 @@ namespace MediaBrowser.Api
throw new ArgumentException ( string . Format ( "Invalid path: {0}" , path ) ) ;
throw new ArgumentException ( string . Format ( "Invalid path: {0}" , path ) ) ;
}
}
return ToOptimizedResult ( GetFileSystemEntries ( request ) . ToList( ) ) ;
return ToOptimizedResult ( GetFileSystemEntries ( request ) . OrderBy( i = > i . Path ) . ToList( ) ) ;
}
}
/// <summary>
/// <summary>
@ -139,7 +139,7 @@ namespace MediaBrowser.Api
/// <returns>System.Object.</returns>
/// <returns>System.Object.</returns>
public object Get ( GetNetworkDevices request )
public object Get ( GetNetworkDevices request )
{
{
var result = GetNetworkDevices ( ) . ToList( ) ;
var result = GetNetworkDevices ( ) . OrderBy( i = > i . Path ) . ToList( ) ;
return ToOptimizedResult ( result ) ;
return ToOptimizedResult ( result ) ;
}
}