灵动课堂demo提示请重新登录

授权摄像头与麦克风后,不断弹窗提示重新登录
从console与network中,能看见请求一个接口跨域

Access to XMLHttpRequest at ‘http://39.102.159.61/ws/info?t=1638946458502’ from origin ‘null’ has been blocked by CORS policy: The value of the ‘Access-Control-Allow-Origin’ header in the response must not be the wildcard ‘*’ when the request’s credentials mode is ‘include’. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.

请问这种情况如何处理

跨域是浏览器的限制,是环信IM的跨域,关一下浏览器的跨域

sdk发送请求时将origin设为了null
图片


关闭浏览器跨域重启后仍然报同样问题