Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/7ce21d436baa2ffe80e7723f3d0887db7a0eeaf1?style=split&whitespace=ignore-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
7 additions and
1 deletions
@ -90,6 +90,9 @@ namespace Emby.Server.Implementations.Data
_typeMapper = new TypeMapper ( ) ;
_typeMapper = new TypeMapper ( ) ;
_jsonOptions = JsonDefaults . GetOptions ( ) ;
_jsonOptions = JsonDefaults . GetOptions ( ) ;
// GetItem throws NotSupportedException with this enabled, so hardcode false.
_jsonOptions . IgnoreNullValues = false ;
DbFilePath = Path . Combine ( _config . ApplicationPaths . DataPath , "library.db" ) ;
DbFilePath = Path . Combine ( _config . ApplicationPaths . DataPath , "library.db" ) ;
}
}
@ -168,6 +168,8 @@ namespace Jellyfin.Server.Extensions
// From JsonDefaults
// From JsonDefaults
options . JsonSerializerOptions . ReadCommentHandling = jsonOptions . ReadCommentHandling ;
options . JsonSerializerOptions . ReadCommentHandling = jsonOptions . ReadCommentHandling ;
options . JsonSerializerOptions . WriteIndented = jsonOptions . WriteIndented ;
options . JsonSerializerOptions . WriteIndented = jsonOptions . WriteIndented ;
options . JsonSerializerOptions . IgnoreNullValues = jsonOptions . IgnoreNullValues ;
options . JsonSerializerOptions . Converters . Clear ( ) ;
options . JsonSerializerOptions . Converters . Clear ( ) ;
foreach ( var converter in jsonOptions . Converters )
foreach ( var converter in jsonOptions . Converters )
{
{
@ -24,7 +24,8 @@ namespace MediaBrowser.Common.Json
var options = new JsonSerializerOptions
var options = new JsonSerializerOptions
{
{
ReadCommentHandling = JsonCommentHandling . Disallow ,
ReadCommentHandling = JsonCommentHandling . Disallow ,
WriteIndented = false
WriteIndented = false ,
IgnoreNullValues = true
} ;
} ;
options . Converters . Add ( new JsonGuidConverter ( ) ) ;
options . Converters . Add ( new JsonGuidConverter ( ) ) ;