Accept absolute url for external services

This commit is contained in:
nicolas.dorier 2019-01-23 13:17:36 +09:00
parent 854a55ac1a
commit bb51436ae3
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.1</TargetFramework>
<Version>1.0.3.44</Version>
<Version>1.0.3.45</Version>
<NoWarn>NU1701,CA1816,CA1308,CA1810,CA2208</NoWarn>
</PropertyGroup>
<PropertyGroup>

View File

@ -465,7 +465,7 @@ namespace BTCPayServer.Controllers
result.ExternalServices.Add(new ServicesViewModel.ExternalService()
{
Name = externalService.Key,
Link = this.Request.GetRelativePath(externalService.Value)
Link = this.Request.GetRelativePathOrAbsolute(externalService.Value)
});
}
if(_Options.SSHSettings != null)