|
@@ -25,13 +25,10 @@ |
|
|
block discarded – undo |
|
25
|
25
|
|
|
26
|
26
|
namespace OCA\Files_PDFViewer\Listeners; |
|
27
|
27
|
|
|
28
|
|
-use OCA\Files_PDFViewer\AppInfo\Application; |
|
29
|
|
-use OCA\Viewer\Event\LoadViewer; |
|
30
|
28
|
use OCP\AppFramework\Http\EmptyContentSecurityPolicy; |
|
31
|
29
|
use OCP\EventDispatcher\Event; |
|
32
|
30
|
use OCP\EventDispatcher\IEventListener; |
|
33
|
31
|
use OCP\Security\CSP\AddContentSecurityPolicyEvent; |
|
34
|
|
-use OCP\Util; |
|
35
|
32
|
|
|
36
|
33
|
class CSPListener implements IEventListener { |
|
37
|
34
|
public function handle(Event $event): void { |
Please login to merge, or discard this patch.