mbs / cors-generator-bundle
Set cors headers using symfony event listener
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=7.1
- symfony/framework-bundle: >=5.0
This package is auto-updated.
Last update: 2025-03-09 19:46:18 UTC
README
add this environement variables in .env file
###> mbs/cors-generator-bundle ###
cors_generator_allow_credentials=false
cors_generator_allow_origin='*'
cors_generator_allow_headers='Content-Type, Authorization'
cors_generator_allow_methods='POST, GET, PUT, DELETE, OPTIONS'
cors_generator_max_age=3600
###< mbs/cors-generator-bundle ###