mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 22:44:29 +01:00
Do not use Onion-Location for custom domains (Fix #1693)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user