From 376f7e7cc9a1a0847a4e32943b97d44b862c94bd Mon Sep 17 00:00:00 2001 From: Gothwad Tech Date: Mon, 23 Nov 2026 03:57:13 +0000 Subject: [PATCH] fix(csp): allow the Bansify hub to embed GitPlus frame-ancestors was 'none', so the app dock on bansify.com could not preview GitPlus. The account widget origin also still pointed at gothwadtech.com. --- public/_headers | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/_headers b/public/_headers index 1baa814..a368326 100644 --- a/public/_headers +++ b/public/_headers @@ -2,7 +2,7 @@ X-Content-Type-Options: nosniff Referrer-Policy: no-referrer Permissions-Policy: camera=(), microphone=(), geolocation=() - Content-Security-Policy: default-src 'self'; script-src 'self' https://accounts.gothwadtech.com/widget/; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; img-src 'self' data: blob: https://*.githubusercontent.com https://github.com; connect-src 'self' https://api.github.com https://*.githubusercontent.com; object-src 'none'; base-uri 'self'; form-action 'self'; frame-ancestors 'none' + Content-Security-Policy: default-src 'self'; script-src 'self' https://accounts.bansify.com/widget/; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; img-src 'self' data: blob: https://*.githubusercontent.com https://github.com; connect-src 'self' https://api.github.com https://*.githubusercontent.com; object-src 'none'; base-uri 'self'; form-action 'self'; frame-ancestors 'self' https://bansify.com https://www.bansify.com / Cache-Control: no-cache