зеркало из https://github.com/nextcloud/spreed.git
Also allow blob
This commit is contained in:
Родитель
694f6406fa
Коммит
65ffc79ce0
|
@ -70,7 +70,9 @@ class PageController extends Controller {
|
|||
'sessionId' => $this->userId,
|
||||
];
|
||||
$response = new TemplateResponse($this->appName, 'index', $params);
|
||||
$csp = (new ContentSecurityPolicy())->addAllowedConnectDomain('*');
|
||||
$csp = new ContentSecurityPolicy();
|
||||
$csp->addAllowedConnectDomain('*');
|
||||
$csp->addAllowedMediaDOmain('blob:');
|
||||
$response->setContentSecurityPolicy($csp);
|
||||
return $response;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче