Mise en place intégration Discord
This commit is contained in:
10
config/packages/nelmio_cors.yaml
Normal file
10
config/packages/nelmio_cors.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
nelmio_cors:
|
||||
defaults:
|
||||
allow_credentials: true
|
||||
allow_origin: ['%env(CORS_ALLOW_ORIGIN)%']
|
||||
allow_headers: ['Content-Type', 'Authorization', 'X-Requested-With']
|
||||
expose_headers: ['Authorization']
|
||||
allow_methods: ['GET', 'POST', 'PUT', 'DELETE', 'OPTIONS']
|
||||
max_age: 3600
|
||||
paths:
|
||||
'^/': ~
|
||||
Reference in New Issue
Block a user