blog icon indicating copy to clipboard operation
blog copied to clipboard

Specify the allowed origins properly

Open jmacmullin opened this issue 7 years ago • 1 comments

Specifying the allowed origin as origin: '*' does not work (results in an empty string being set for the allowed origins in API Gateway). It seems that they need to be specified as a list.

jmacmullin avatar Jan 30 '18 04:01 jmacmullin

@jmacmullin What version of the Framework are you using (sls version)? I believe that was fixed in this PR, which was part of the 1.15 release.

alexdebrie avatar Jan 30 '18 18:01 alexdebrie