Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/commit/cd26b8f7288418bca3496f216a24c5ad89d3857b?style=split&whitespace=ignore-eol
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
4 additions and
4 deletions
@ -34,7 +34,7 @@ namespace NzbDrone.Api.Indexers
PostValidator . RuleFor ( s = > s . Title ) . NotEmpty ( ) ;
PostValidator . RuleFor ( s = > s . Title ) . NotEmpty ( ) ;
PostValidator . RuleFor ( s = > s . DownloadUrl ) . NotEmpty ( ) ;
PostValidator . RuleFor ( s = > s . DownloadUrl ) . NotEmpty ( ) ;
PostValidator . RuleFor ( s = > s . Download Protocol) . NotEmpty ( ) ;
PostValidator . RuleFor ( s = > s . Protocol) . NotEmpty ( ) ;
PostValidator . RuleFor ( s = > s . PublishDate ) . NotEmpty ( ) ;
PostValidator . RuleFor ( s = > s . PublishDate ) . NotEmpty ( ) ;
}
}
@ -5,7 +5,6 @@ using System.Net;
using System.Collections.Generic ;
using System.Collections.Generic ;
using System ;
using System ;
using System.Globalization ;
using System.Globalization ;
using NzbDrone.Core.Indexers ;
namespace NzbDrone.Integration.Test.ApiTests
namespace NzbDrone.Integration.Test.ApiTests
{
{
@ -18,7 +17,8 @@ namespace NzbDrone.Integration.Test.ApiTests
var body = new Dictionary < string , object > ( ) ;
var body = new Dictionary < string , object > ( ) ;
body . Add ( "guid" , "sdfsdfsdf" ) ;
body . Add ( "guid" , "sdfsdfsdf" ) ;
body . Add ( "title" , "The.Series.S01E01" ) ;
body . Add ( "title" , "The.Series.S01E01" ) ;
body . Add ( "downloadProtocol" , DownloadProtocol . Torrent . ToString ( ) ) ;
body . Add ( "downloadProtocol" , 2 ) ;
body . Add ( "downloadUrl" , "https://sonarr.tv/test.torrent" ) ;
body . Add ( "publishDate" , DateTime . UtcNow . ToString ( "yyyy-MM-dd HH:mm:ssZ" , CultureInfo . InvariantCulture ) ) ;
body . Add ( "publishDate" , DateTime . UtcNow . ToString ( "yyyy-MM-dd HH:mm:ssZ" , CultureInfo . InvariantCulture ) ) ;
var request = ReleasePush . BuildRequest ( ) ;
var request = ReleasePush . BuildRequest ( ) ;
@ -33,7 +33,7 @@ namespace Sonarr.Api.V3.Indexers
PostValidator . RuleFor ( s = > s . Title ) . NotEmpty ( ) ;
PostValidator . RuleFor ( s = > s . Title ) . NotEmpty ( ) ;
PostValidator . RuleFor ( s = > s . DownloadUrl ) . NotEmpty ( ) ;
PostValidator . RuleFor ( s = > s . DownloadUrl ) . NotEmpty ( ) ;
PostValidator . RuleFor ( s = > s . Download Protocol) . NotEmpty ( ) ;
PostValidator . RuleFor ( s = > s . Protocol) . NotEmpty ( ) ;
PostValidator . RuleFor ( s = > s . PublishDate ) . NotEmpty ( ) ;
PostValidator . RuleFor ( s = > s . PublishDate ) . NotEmpty ( ) ;
Post [ "/push" ] = x = > ProcessRelease ( ReadResourceFromRequest ( ) ) ;
Post [ "/push" ] = x = > ProcessRelease ( ReadResourceFromRequest ( ) ) ;