mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Nextcloud allow in iframe #537
This commit is contained in:
parent
0d715c0bb4
commit
e3d2250e19
2 changed files with 13 additions and 1 deletions
|
|
@ -38,6 +38,7 @@ class PageController extends Controller
|
|||
]);
|
||||
$csp = new ContentSecurityPolicy();
|
||||
$csp->addAllowedFrameDomain("'self'");
|
||||
// $csp->addAllowedFrameAncestorDomain("'self'");
|
||||
$response->setContentSecurityPolicy($csp);
|
||||
return $response;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue