diff options
Diffstat (limited to 'lib/Controller/FederationController.php')
-rw-r--r-- | lib/Controller/FederationController.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Controller/FederationController.php b/lib/Controller/FederationController.php index 1eb4b6c7..6ec1409d 100644 --- a/lib/Controller/FederationController.php +++ b/lib/Controller/FederationController.php @@ -62,9 +62,11 @@ class FederationController extends OCSController { * @NoCSRFRequired */ public function index() { - return new DataResponse([ + $response = new DataResponse([ 'wopi_url' => $this->config->getAppValue('richdocuments', 'wopi_url') ]); + $response->setHeaders(['X-Frame-Options' => 'ALLOW']); + return $response; } /** |