Can you remove invalid csp paths from config file

Hi,
We found some invalid csp reporting urls added on app/code/Ubertheme/Base/etc/config.xml file and which affects sites performance. Could you please remove these devdoc contents from base module.

<csp>

 

 
 
 
<mode>

 

 
 
 
<storefront>

 

 
 
 
<report_uri>http://csp-reporting-service.com/my-project/endpoint</report_uri>

 

 
 
 
</storefront>

 

 
 
 
<admin>

 

 
 
 
<report_uri>http://csp-reporting-service.com/my-project/endpoint</report_uri>

 

 
 
 
</admin>

 

 
 
 
</mode>

 

 
 
 
</csp>

1 answer

Profile photo of Mall Staff 170030.00 $tone 4 days ago
Public

Hi there,
You can disable the Magento_Csp module by running the following CLI command at your end:

php bin/magento module:disable Magento_Csp;

And tell me how it goes.
Regards,
Mall.

#1

Please login or Register to Submit Answer

Written By

Comments