node-blink-security icon indicating copy to clipboard operation
node-blink-security copied to clipboard

CORS when setupSystem

Open Wolf9 opened this issue 4 years ago • 1 comments

Hello,

I just start to use this module, but i have an error when i use the setupSystem function : Access to fetch at 'https://rest.prod.immedia-semi.com/api/v3/login' from origin 'http://localhost:1234' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

Someone have an idea ?

I just use the exemple code

Wolf9 avatar May 18 '20 13:05 Wolf9

Yes, this is a known problem. See https://github.com/lurume84/bling-viewer#usage-guide

NodeGuy avatar Jun 13 '20 01:06 NodeGuy