Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/blame/commit/1de362fa0e2515f6841a216ecee67b04bfae915b/NzbDrone.Common/TryParseExtension.cs
You should set ROOT_URL correctly, otherwise the web may not work correctly.
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Common
|
|
|
|
|
{
|
|
|
|
|
public static class TryParseExtension
|
|
|
|
|
{
|
|
|
|
|
public static Nullable<int> ParseInt32(this string source)
|
|
|
|
|
{
|
|
|
|
|
Int32 result = 0;
|
|
|
|
|
|
|
|
|
|
if (Int32.TryParse(source, out result))
|
|
|
|
|
{
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|