yireo/magento2-disable-csp

Disable CSP

Installs: 24 789

Dependents: 0

Suggesters: 0

Security: 0

Stars: 13

Watchers: 1

Forks: 1

Type:magento2-module

1.0.1 2024-06-28 12:19 UTC

This package is auto-updated.

Last update: 2024-10-28 12:56:55 UTC


README

For shops that don't need CSP to be enabled, this module offers a quick solution. Just install and enable the module and you're done.

Technically, it replaces the default implementation of Magento\Csp\Api\CspRendererInterface with a dummy.

Usage

composer require yireo/magento2-disable-csp
bin/magento module:enable Yireo_DisableCsp

Remark

The magento/module-csp package is still necessary and should not be removed via composer replace.

Alternatives