PHP Classes

File: store/config/packages/nelmio_cors.yaml

Recommend this page to a friend!
  Classes of Omar Shaban   Clean Architecture in PHP Symfony   store/config/packages/nelmio_cors.yaml   Download  
File: store/config/packages/nelmio_cors.yaml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Clean Architecture in PHP Symfony
Symfony based application in a Docker container
Author: By
Last change:
Date: 2 years ago
Size: 320 bytes
 

Contents

Class file image Download
nelmio_cors: defaults: origin_regex: true allow_origin: ['%env(CORS_ALLOW_ORIGIN)%'] allow_methods: ['GET', 'OPTIONS', 'POST', 'PUT', 'PATCH', 'DELETE'] allow_headers: ['Content-Type', 'Authorization'] expose_headers: ['Link'] max_age: 3600 paths: '^/': ~