chore: initial import for test contour with k3s CI
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
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', 'X-Requested-With']
|
||||
expose_headers: ['Link']
|
||||
max_age: 3600
|
||||
allow_credentials: true
|
||||
paths:
|
||||
'^/api/':
|
||||
origin_regex: true
|
||||
allow_origin: ['%env(CORS_ALLOW_ORIGIN)%']
|
||||
allow_headers: ['Content-Type', 'Authorization', 'X-Requested-With']
|
||||
allow_methods: ['GET', 'OPTIONS', 'POST', 'PUT', 'PATCH', 'DELETE']
|
||||
max_age: 3600
|
||||
allow_credentials: true
|
||||
Reference in New Issue
Block a user