Skip to content
New issue

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

请问一直报401是什么情况,注册页也报401? #4

Open
return-stay opened this issue Jan 8, 2019 · 2 comments
Open

请问一直报401是什么情况,注册页也报401? #4

return-stay opened this issue Jan 8, 2019 · 2 comments

Comments

@return-stay
Copy link

No description provided.

@coderzc
Copy link
Contributor

coderzc commented Jan 8, 2019

检查请求地址,后端默认是没有 '/api' 前缀

@coderzc
Copy link
Contributor

coderzc commented Jan 8, 2019

image
我改成把 /api 代理到 / 了,原来是因为我在服务器的nginx设置的这个转发规则

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants