|
@@ -58,7 +58,7 @@ discard block |
|
|
block discarded – undo |
|
58
|
58
|
|
|
59
|
59
|
/** @var IEventDispatcher $dispatcher */ |
|
60
|
60
|
$dispatcher = $container->query(IEventDispatcher::class); |
|
61
|
|
- $dispatcher->addListener(AddContentSecurityPolicyEvent::class, function (AddContentSecurityPolicyEvent $event) use ($reportUrl, $publicDsn) { |
|
|
61
|
+ $dispatcher->addListener(AddContentSecurityPolicyEvent::class, function(AddContentSecurityPolicyEvent $event) use ($reportUrl, $publicDsn) { |
|
62
|
62
|
$event->addPolicy($this->createCsp($publicDsn, $reportUrl)); |
|
63
|
63
|
}); |
|
64
|
64
|
} |
|
@@ -111,7 +111,7 @@ discard block |
|
|
block discarded – undo |
|
111
|
111
|
/** @var IInitialStateService $stateService */ |
|
112
|
112
|
$stateService = $container->query(IInitialStateService::class); |
|
113
|
113
|
|
|
114
|
|
- $stateService->provideLazyInitialState('sentry', 'dsn', function () use ($dsn) { |
|
|
114
|
+ $stateService->provideLazyInitialState('sentry', 'dsn', function() use ($dsn) { |
|
115
|
115
|
return [ |
|
116
|
116
|
'dsn' => $dsn === '' ? null : $dsn, |
|
117
|
117
|
]; |
Please login to merge, or discard this patch.