Content-Security-Policy: The page’s settings blocked an inline script (script-src-elem) from being executed because it violates the following directive: “script-src 'self' 'nonce-a40c5d449d7c0a7ee2cd9978d392ef59' 'unsafe-eval' https://maps.googleapis.com” The admin settings not display in my account menu and the notifications icon not display the mention not works
Content-Security-Policy: The page’s settings blocked an inline script
Collapse
X
-
Hi Riad,
You may need to disable the clientCspDisabled parameter in the EspoCRM instance configuration file to get rid of this error: https://docs.espocrm.com/administrat...rams/#security.
Config parameters can be changed or added manually in the file data/config.php. Parameters can also be added to the file data/config-internal.php. -
Note that disabling CSP increases security risks significantly. Not recommended.If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.Comment
-
Add to config-internal.php
Code:'clientCspScriptSourceList' => [ 'https://maps.googleapis.com', ],
If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.👍 1Comment
Comment