Do not use Onion-Location for custom domains (Fix #1693)

This commit is contained in:
nicolas.dorier 2020-06-27 15:39:02 +09:00
parent 376b5fc160
commit 26137200b9
No known key found for this signature in database
GPG Key ID: 6618763EF09186FE

View File

@ -45,6 +45,7 @@ namespace BTCPayServer.Controllers
{
if (appType.HasValue && !string.IsNullOrEmpty(appId))
{
this.HttpContext.Response.Headers.Remove("Onion-Location");
switch (appType.Value)
{
case AppType.Crowdfund: