When calling the /api/printer api I am getting the following error:
Access to XMLHttpRequest at 'http://xxx/api/printer' from origin 'http://yyy:111' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Can the response header of /api/printer to Access-Control-Allow-Origin: * or add an option for this to by pass this error please as using a proxy for this is tedious?
When calling the /api/printer api I am getting the following error:
Access to XMLHttpRequest at 'http://xxx/api/printer' from origin 'http://yyy:111' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Can the response header of /api/printer to
Access-Control-Allow-Origin: *
or add an option for this to by pass this error please as using a proxy for this is tedious?Reference: link
Thanks.