mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 02:28:31 +01:00
Remove XFrame for PoS
This commit is contained in:
parent
27321c0919
commit
a533a96598
@ -6,6 +6,7 @@ using System.Linq;
|
|||||||
using System.Security.Claims;
|
using System.Security.Claims;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using BTCPayServer.Data;
|
using BTCPayServer.Data;
|
||||||
|
using BTCPayServer.Filters;
|
||||||
using BTCPayServer.Models.AppViewModels;
|
using BTCPayServer.Models.AppViewModels;
|
||||||
using BTCPayServer.Security;
|
using BTCPayServer.Security;
|
||||||
using BTCPayServer.Services.Apps;
|
using BTCPayServer.Services.Apps;
|
||||||
@ -32,6 +33,7 @@ namespace BTCPayServer.Controllers
|
|||||||
|
|
||||||
[HttpGet]
|
[HttpGet]
|
||||||
[Route("/apps/{appId}/pos")]
|
[Route("/apps/{appId}/pos")]
|
||||||
|
[XFrameOptionsAttribute(null)]
|
||||||
public async Task<IActionResult> ViewPointOfSale(string appId)
|
public async Task<IActionResult> ViewPointOfSale(string appId)
|
||||||
{
|
{
|
||||||
var app = await _AppsHelper.GetApp(appId, AppType.PointOfSale);
|
var app = await _AppsHelper.GetApp(appId, AppType.PointOfSale);
|
||||||
|
Loading…
Reference in New Issue
Block a user