From a533a96598db27db1f74502ef8a3204d1c8cf537 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Mon, 10 Dec 2018 16:39:21 +0900 Subject: [PATCH] Remove XFrame for PoS --- BTCPayServer/Controllers/AppsPublicController.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BTCPayServer/Controllers/AppsPublicController.cs b/BTCPayServer/Controllers/AppsPublicController.cs index 1f855ad05..c8ea7b594 100644 --- a/BTCPayServer/Controllers/AppsPublicController.cs +++ b/BTCPayServer/Controllers/AppsPublicController.cs @@ -6,6 +6,7 @@ using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using BTCPayServer.Data; +using BTCPayServer.Filters; using BTCPayServer.Models.AppViewModels; using BTCPayServer.Security; using BTCPayServer.Services.Apps; @@ -32,6 +33,7 @@ namespace BTCPayServer.Controllers [HttpGet] [Route("/apps/{appId}/pos")] + [XFrameOptionsAttribute(null)] public async Task ViewPointOfSale(string appId) { var app = await _AppsHelper.GetApp(appId, AppType.PointOfSale);