File: config/packages/nelmio_cors.yaml

Recommend this page to a friend!
  Classes of Paulo Henrique  >  Ajudaime API  >  config/packages/nelmio_cors.yaml  >  Download  
File: config/packages/nelmio_cors.yaml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Ajudaime API
Find people close to the user who needs help
Author: By
Last change:
Date: 6 months ago
Size: 508 bytes
 

Contents

Class file image Download
nelmio_cors:
    defaults:
        allow_credentials: true
        allow_origin: ['*']
        allow_headers: ['Content-Type', 'Authorization']
        allow_methods: ['GET', 'OPTIONS', 'POST', 'PUT', 'PATCH', 'DELETE']
        max_age: 3600
#    paths:
#        '^/':
#            allow_credentials: true
#            allow_origin: ['*']
#            allow_headers: ['Content-Type', 'Authorization']
#            allow_methods: ['GET', 'OPTIONS', 'POST', 'PUT', 'PATCH', 'DELETE']
#            max_age: 3600

For more information send a message to info at phpclasses dot org.