ellinaut / cors-bundle
A bundle to allow CORS request to the server
Installs: 265
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=8.1
- symfony/framework-bundle: ^5|^6
Requires (Dev)
- roave/security-advisories: dev-latest
This package is auto-updated.
Last update: 2024-11-08 12:19:59 UTC
README
cors: patterns: '*': ~
cors: patterns: '*': handle_options: true credentials: true origin: [ '*' ] methods: - 'OPTIONS' - 'HEAD' - 'GET' - 'POST' - 'PATCH' - 'PUT' - 'DELETE' additional_methods: [ ] headers: - 'Access-Control-Allow-Headers' - 'Access-Control-Request-Method' - 'Access-Control-Request-Headers' - 'Access-Control-Allow-Credentials' - 'Origin' - 'Authorization' - 'Content-Type' - 'Accept' - 'Accept-Language' - 'Vary' - 'X-Requested-With' additional_headers: [ ]