Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 
 

27 строки
655 B

  1. #nelmio_cors:
  2. # defaults:
  3. # origin_regex: true
  4. # allow_origin: ['%env(CORS_ALLOW_ORIGIN)%']
  5. # allow_methods: ['GET', 'OPTIONS', 'POST', 'PUT', 'PATCH', 'DELETE']
  6. # allow_headers: ['Content-Type', 'Authorization']
  7. # expose_headers: ['Link']
  8. # max_age: 3600
  9. # paths:
  10. # '^/': null
  11. nelmio_cors:
  12. defaults:
  13. allow_credentials: true
  14. allow_origin: ['*']
  15. allow_headers: ['*']
  16. allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
  17. expose_headers: []
  18. max_age: 3600
  19. hosts: []
  20. origin_regex: true
  21. paths:
  22. # Important api settings :
  23. # Access-Control-Request-Method
  24. '^/': ~