Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/commit/f4e27002f9cb7462ea5eb0bb60a6ba1803e0f6f1
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
6 additions and
8 deletions
@ -17,7 +17,7 @@ namespace NzbDrone.Common.EnvironmentInfo
{
private readonly IDiskProvider _diskProvider ;
private readonly Logger _logger ;
private readonly Environment . SpecialFolder _dataSpecialFolder = Environment . SpecialFolder . CommonApplicationData ;
private const Environment . SpecialFolder DATA_SPECIAL_FOLDER = Environment . SpecialFolder . CommonApplicationData ;
public AppFolderInfo ( IDiskProvider diskProvider )
@ -25,16 +25,14 @@ namespace NzbDrone.Common.EnvironmentInfo
_diskProvider = diskProvider ;
_logger = LogManager . GetCurrentClassLogger ( ) ;
if ( OsInfo . IsLinux )
{
_dataSpecialFolder = Environment . SpecialFolder . ApplicationData ;
}
AppDataFolder = Path . Combine ( Environment . GetFolderPath ( _dataSpecialFolder , Environment . SpecialFolderOption . DoNotVerify ) , "NzbDrone" ) ;
AppDataFolder = Path . Combine ( Environment . GetFolderPath ( DATA_SPECIAL_FOLDER , Environment . SpecialFolderOption . DoNotVerify ) , "NzbDrone" ) ;
StartUpFolder = new FileInfo ( Assembly . GetExecutingAssembly ( ) . Location ) . Directory . FullName ;
TempFolder = Path . GetTempPath ( ) ;
SetPermissions ( ) ;
if ( ! OsInfo . IsLinux )
{
SetPermissions ( ) ;
}
}
private void SetPermissions ( )