blog
blog copied to clipboard
Specify the allowed origins properly
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 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.