Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/src/commit/739188a5779dd6515a27689080c5e9e4ff69e03e/NzbDrone.Common/EnvironmentInfo/OsInfo.cs You should set ROOT_URL correctly, otherwise the web may not work correctly.
Sonarr/NzbDrone.Common/EnvironmentInfo/OsInfo.cs

32 lines
731 B

using System;
namespace NzbDrone.Common.EnvironmentInfo
{
public static class OsInfo
{
static OsInfo()
{
Version = Environment.OSVersion.Version;
IsMono = Type.GetType("Mono.Runtime") != null;
int platform = (int)Environment.OSVersion.Platform;
IsLinux = (platform == 4) || (platform == 6) || (platform == 128);
}
public static Version Version { get; private set; }
public static bool IsMono { get; private set; }
public static bool IsLinux { get; private set; }
public static bool IsWindows
{
get
{
return !IsLinux;
}
}
}
}