mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-19 13:43:46 +01:00
Do not use Onion-Location for custom domains (Fix #1693)
This commit is contained in:
parent
376b5fc160
commit
26137200b9
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user