Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Lidarr/commit/43b4262e14116b15e2a3df1c3d196f567a0738cd
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
11 additions and
12 deletions
@ -35,20 +35,20 @@ namespace NzbDrone.Api.Frontend
return null ;
}
foreach ( var requestMapper in _requestMappers )
var mapper = _requestMappers . SingleOrDefault ( m = > m . CanHandle ( path ) ) ;
if ( mapper ! = null )
{
if ( requestMapper . CanHandle ( path ) )
{
var filePath = requestMapper . Map ( path ) ;
var filePath = mapper . Map ( path ) ;
if ( _diskProvider . FileExists ( filePath ) )
{
return new StreamResponse ( ( ) = > File . OpenRead ( filePath ) , MimeTypes . GetMimeType ( filePath ) ) ;
}
if ( _diskProvider . FileExists ( filePath ) )
{
return new StreamResponse ( ( ) = > File . OpenRead ( filePath ) , MimeTypes . GetMimeType ( filePath ) ) ;
}
_logger . Warn ( "File {0} not found" , filePath ) ;
}
_logger . Warn ( "Couldn't find a matching file for: {0}" , path ) ;
return null ;
}
}
@ -81,6 +81,8 @@ namespace NzbDrone.Core.Update
var process = _processProvider . Start ( startInfo ) ;
_processProvider . WaitForExit ( process ) ;
_logger . Error ( "Update process failed" ) ;
}
public Dictionary < DateTime , string > GetUpdateLogFiles ( )
@ -81,9 +81,6 @@ namespace NzbDrone.Update.Providers
try
{
_diskProvider . CopyDirectory ( _environmentProvider . GetUpdatePackageFolder ( ) , targetFolder ) ;
logger . Trace ( "Deleting Update Package." ) ;
_diskProvider . DeleteFolder ( _environmentProvider . GetUpdatePackageFolder ( ) , true ) ;
}
catch ( Exception e )
{