Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Radarr/commit/db7babc6ed748c4e5b4701ca26b23f0f122a0f68
You should set ROOT_URL correctly, otherwise the web may not work correctly.
4 changed files with
12 additions and
10 deletions
@ -431,7 +431,7 @@ namespace NzbDrone.Core.Test.Download.DownloadClientTests.DownloadStationTests
id . Should ( ) . NotBeNullOrEmpty ( ) ;
Mocker . GetMock < IDownloadStationTaskProxy > ( )
. Verify ( v = > v . AddTaskFromUrl ( It . IsAny < string > ( ) , null , It . IsAny < DownloadStationSettings > ( ) ) , Times . Once ( ) ) ;
. Verify ( v = > v . AddTaskFromUrl ( It . IsAny < string > ( ) , _defaultDestination , It . IsAny < DownloadStationSettings > ( ) ) , Times . Once ( ) ) ;
}
[Test]
@ -313,7 +313,7 @@ namespace NzbDrone.Core.Test.Download.DownloadClientTests.DownloadStationTests
id . Should ( ) . NotBeNullOrEmpty ( ) ;
Mocker . GetMock < IDownloadStationTaskProxy > ( )
. Verify ( v = > v . AddTaskFromData ( It . IsAny < byte [ ] > ( ) , It . IsAny < string > ( ) , null , It . IsAny < DownloadStationSettings > ( ) ) , Times . Once ( ) ) ;
. Verify ( v = > v . AddTaskFromData ( It . IsAny < byte [ ] > ( ) , It . IsAny < string > ( ) , _defaultDestination , It . IsAny < DownloadStationSettings > ( ) ) , Times . Once ( ) ) ;
}
[Test]
@ -451,14 +451,15 @@ namespace NzbDrone.Core.Download.Clients.DownloadStation
{
return Settings . TvDirectory . TrimStart ( '/' ) ;
}
else if ( Settings . TvCategory . IsNotNullOrWhiteSpace ( ) )
{
var destDir = GetDefaultDir ( ) ;
var destDir = GetDefaultDir ( ) ;
if ( Settings . TvCategory . IsNotNullOrWhiteSpace ( ) )
{
return $"{destDir.TrimEnd('/')}/{Settings.TvCategory}" ;
}
return null ;
return destDir . TrimEnd ( '/' ) ;
}
}
}
@ -427,14 +427,15 @@ namespace NzbDrone.Core.Download.Clients.DownloadStation
{
return Settings . TvDirectory . TrimStart ( '/' ) ;
}
else if ( Settings . TvCategory . IsNotNullOrWhiteSpace ( ) )
{
var destDir = GetDefaultDir ( ) ;
var destDir = GetDefaultDir ( ) ;
if ( Settings . TvCategory . IsNotNullOrWhiteSpace ( ) )
{
return $"{destDir.TrimEnd('/')}/{Settings.TvCategory}" ;
}
return null ;
return destDir . TrimEnd ( '/' ) ;
}
}
}