initial rest api for react.js
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
nelmio_cors:
|
||||
defaults:
|
||||
allow_origin: ['%env(CORS_ALLOW_ORIGIN)%']
|
||||
allow_headers: ['Content-Type', 'Authorization']
|
||||
allow_methods: ['GET', 'POST', 'PUT', 'PATCH', 'DELETE', 'OPTIONS']
|
||||
max_age: 3600
|
||||
paths:
|
||||
'^/api/': ~
|
||||
Reference in New Issue
Block a user