diff --git a/nextjs/csp/policies/app.ts b/nextjs/csp/policies/app.ts index 3f7be57274..5734f85a76 100644 --- a/nextjs/csp/policies/app.ts +++ b/nextjs/csp/policies/app.ts @@ -133,6 +133,10 @@ export function app(): CspDev.DirectiveDescriptor { '*', ], + 'frame-ancestors': [ + KEY_WORDS.SELF, + ], + ...((() => { if (!config.features.sentry.isEnabled) { return {};