add frame-ancestors rule to csp

This commit is contained in:
Max Alekseenko
2024-05-16 15:45:01 +02:00
parent 2b31c9998a
commit dcb97ecf86
+4
View File
@@ -133,6 +133,10 @@ export function app(): CspDev.DirectiveDescriptor {
'*',
],
'frame-ancestors': [
KEY_WORDS.SELF,
],
...((() => {
if (!config.features.sentry.isEnabled) {
return {};