Nextcloud allow in iframe #537

This commit is contained in:
the-djmaze 2023-02-23 16:33:38 +01:00
parent 0d715c0bb4
commit e3d2250e19
2 changed files with 13 additions and 1 deletions

View file

@ -38,6 +38,7 @@ class PageController extends Controller
]);
$csp = new ContentSecurityPolicy();
$csp->addAllowedFrameDomain("'self'");
// $csp->addAllowedFrameAncestorDomain("'self'");
$response->setContentSecurityPolicy($csp);
return $response;
}