@jmcmullen Hi.
When I looked at CORS a little while ago in
I set it to:
origin: '*',
credentials: true,
So, while your origin makes sense, I’d try adding the credentials since the available options listed here (and there are many):
say that
credentials: Configures the Access-Control-Allow-Credentials CORS header. Set to true to pass the header, otherwise it is omitted.
and you seem to be getting a message about
No ‘Access-Control-Allow-Origin’ header is present
So, perhaps that will set and pass the header it expects even though:
origin: Configures the Access-Control-Allow-Origin CORS header
But maybe a different value is needed like
Boolean- setorigintotrueto reflect the request origin, as defined byreq.header('Origin'), or set it tofalseto disable CORS.
Let us know how it works out ![]()