cepharum / contao-cors
Contao 4.x bundle adding CORS support
Installs: 34
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:contao-bundle
Requires
- php: >=7.1
- contao/core-bundle: ~4.4
Requires (Dev)
- contao/manager-plugin: ^2.0
Conflicts
- contao/manager-plugin: <2.0 || >=3.0
This package is not auto-updated.
Last update: 2024-12-14 03:04:42 UTC
README
This Contao 4.x bundle was developed to extend the CMS by supporting control of CORS headers on frontend.
Limit Access
By default this plugin is accepting requests on behalf of any domain. However, this is significantly weaking security of your website and thus you should explicitly lists all domains that might access your website in app/config/parameters.yml
by adding this parameter:
parameters: ... cors.domains: - http://example.com - http://www.example.com - https://secure.example.com