Skip to content

Commit

Permalink
Merge pull request #2571 from LibreSign/bugfix/empty-screen
Browse files Browse the repository at this point in the history
Fix empty screen
  • Loading branch information
vitormattos authored Mar 22, 2024
2 parents 236664c + 7bb3c33 commit 2d71618
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Middleware/InjectionMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ public function afterException($controller, $methodName, \Exception $exception):
);

$policy = new ContentSecurityPolicy();
$policy->allowEvalScript(true);
$policy->addAllowedFrameDomain('\'self\'');
$response->setContentSecurityPolicy($policy);
return $response;
Expand Down

0 comments on commit 2d71618

Please sign in to comment.