We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
const handleLogin = () => { const loginURI = '/api/user/login_by_token'; const { AUTH_SERVER } = options; let ret = qualifyURL(loginURI, true); let redirectURL = AUTH_SERVER + '?ret=' + ret; location.href = redirectURL; }
中不应该取AUTH_SERVER,应该取loginUrl 下面的才是正确滴
const loginURI = '/api/user/login_by_token'; const { loginUrl } = options; let ret = qualifyURL(loginURI, true); let redirectURL = loginUrl + '?redirectUrl=' + ret; location.href = redirectURL;
同理 server.js 中
request(loginUrl + token, function (error, response, body) {
loginUrl 也错了,应该是AUTH_SERVER
The text was updated successfully, but these errors were encountered:
No branches or pull requests
中不应该取AUTH_SERVER,应该取loginUrl
下面的才是正确滴
同理 server.js 中
loginUrl 也错了,应该是AUTH_SERVER
The text was updated successfully, but these errors were encountered: