#origin_regex: false
paths:
'^/api/':
+ allow_origin: ['*']
+ allow_headers: ['X-Custom-Auth']
+ allow_methods: ['POST', 'PUT', 'PATCH','GET', 'DELETE']
+ max_age: 3600
+ '^/oauth/':
allow_origin: ['*']
allow_headers: ['X-Custom-Auth']
allow_methods: ['POST', 'PUT', 'GET', 'DELETE']