chalice icon indicating copy to clipboard operation
chalice copied to clipboard

chalice local does not respect CORS config

Open corespace opened this issue 9 years ago • 1 comments

Not sure if this is expected or not, but it appears that chalice local just ignores my CORS config and returns some defaults: https://github.com/awslabs/chalice/blob/master/chalice/local.py#L197-L208

I would prefer if I could test my CORS config locally. Please let me know if I'm missing something obvious...

corespace avatar Jul 27 '17 23:07 corespace

I've created a pull request with a test that seems to fix this for me. Can you take a look and provide some feedback?

corespace avatar Jul 28 '17 00:07 corespace