0👍
Had the same problem, here’s the correct option for cors
- cors:
- action:
origin: true
credentials: true
methods: 'HEAD,PUT,PATCH,POST,DELETE,GET'
exposedHeaders : ['allowed-custom-header']
allowedHeaders : '*'
preflightContinue : false
optionsSuccessStatus : 204
Source:stackexchange.com