cepharum/contao-cors

Contao 4.x bundle adding CORS support

Maintainers

Package info

github.com/cepharum/contao-cors

Homepage

Type:contao-bundle

pkg:composer/cepharum/contao-cors

Statistics

Installs: 35

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

0.0.1 2018-11-21 23:13 UTC

This package is not auto-updated.

Last update: 2026-03-07 08:35:37 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