Installed api platform.

This commit is contained in:
krzysiej
2022-06-09 11:46:15 +02:00
parent 61ab01f297
commit 00820715ea
10 changed files with 404 additions and 4 deletions

View File

@@ -0,0 +1,10 @@
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:
'^/': null