Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Prowlarr/commit/788fa6d96a45ebec684672f0811d8ee284c2f0c8
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
5 additions and
17 deletions
@ -1,5 +1,6 @@
using System ;
using System.Data ;
using System.Data.Common ;
using System.Text.RegularExpressions ;
using Dapper ;
using NLog ;
@ -56,24 +57,11 @@ namespace NzbDrone.Core.Datastore
{
get
{
using ( var db = _datamapperFactory ( ) )
{
string version ;
using var db = _datamapperFactory ( ) ;
var dbConnection = db as DbConnection ;
var version = Regex . Replace ( dbConnection . ServerVersion , @"\(.*?\)" , "" ) ;
try
{
version = db . QueryFirstOrDefault < string > ( "SHOW server_version" ) ;
//Postgres can return extra info about operating system on version call, ignore this
version = Regex . Replace ( version , @"\(.*?\)" , "" ) ;
}
catch
{
version = db . QueryFirstOrDefault < string > ( "SELECT sqlite_version()" ) ;
}
return new Version ( version ) ;
}
return new Version ( version ) ;
}
}