后端302到angular-ui-router对应的路径时无效

// node expressres.redirect(302, 'http://myweb.com/app/');

我的登录和/app是两套angular应用,我想实现在登录成功之后,后端302重定向到/app页面,但是没成功。

报错:

A wildcard '*' cannot be used in the 'Access-Control-Allow-Origin' header when the credentials flag is true. Origin 'null' is therefore not allowed access. The credentials mode of an XMLHttpRequest is controlled by the withCredentials attribute.

求助,如何解决呢?

慕雪6442864
浏览 643回答 1
1回答
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

JavaScript