I am facing this issue while connecting to pusher.
Access to XMLHttpRequest at 'https://sockjs.pusher.com/pusher/app/[object%20Object]/780/n0s8goqi/xhr?protocol=7&client=js&version=7.0.6&t=1656480687138&n=116' from origin 'null' 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.