Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

fix: Add CSP frame-src support for Entri (#4109)

Ivan Starkovedae537edaaa
diff --git a/apps/builder/app/routes/_ui.(builder).tsx b/apps/builder/app/routes/_ui.(builder).tsx
index 6a7db83ff3..0b83e6a782 100644
--- a/apps/builder/app/routes/_ui.(builder).tsx
+++ b/apps/builder/app/routes/_ui.(builder).tsx
@@ -202,7 +202,7 @@ export const loader = async ({ request }: LoaderFunctionArgs) => {
// Still possible create iframe without src attribute
// Disable workers on builder
"Content-Security-Policy",
- `frame-src ${url.origin}/canvas; worker-src 'none'`
+ `frame-src ${url.origin}/canvas https://app.goentri.com/; worker-src 'none'`
);
return json(