refacto: remove old debug csp for vue devtools
This commit is contained in:
parent
c413e0cb1a
commit
6ce5c0c199
@ -32,12 +32,6 @@ class PageController extends Controller
|
||||
$csp->addAllowedImageDomain('*');
|
||||
$csp->addAllowedMediaDomain('*');
|
||||
|
||||
if ($this->config->getSystemValueBool('debug')) {
|
||||
// Unblock HMR requests.
|
||||
$csp->addAllowedConnectDomain('*');
|
||||
$csp->addAllowedScriptDomain('*');
|
||||
}
|
||||
|
||||
$response = new TemplateResponse(Application::APP_ID, 'main');
|
||||
$response->setContentSecurityPolicy($csp);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user