Skip to content

Commit a5050a9

Browse files
committed
fix(audio-recording): add necessary CSP connect domain
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
1 parent 68485be commit a5050a9

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

lib/Listener/CSPListener.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ public function handle(Event $event): void {
3030

3131
$csp = new ContentSecurityPolicy();
3232
$csp->addAllowedWorkerSrcDomain('blob:');
33+
$csp->addAllowedConnectDomain('blob:');
3334
$event->addPolicy($csp);
3435
}
3536
}

psalm.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
resolveFromConfigFile="true"
1212
ensureOverrideAttribute="false"
1313
strictBinaryOperands="false"
14-
phpVersion="8.1"
14+
phpVersion="8.2"
1515
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1616
xmlns="https://getpsalm.org/schema/config"
1717
xsi:schemaLocation="https://getpsalm.org/schema/config vendor-bin/psalm/vendor/vimeo/psalm/config.xsd"

0 commit comments

Comments
 (0)