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

api请求报错了,日志从哪看? #5

Open
qingfengmy opened this issue Jul 19, 2022 · 2 comments
Open

api请求报错了,日志从哪看? #5

qingfengmy opened this issue Jul 19, 2022 · 2 comments

Comments

@qingfengmy
Copy link

请求/api/register报500错误,不知道从哪看报错信息

@yuaanlin
Copy link
Member

报错信息会打印在 umi 的日志,就是你打 yarn devpnpm dev 的那个地方

@CheneyH
Copy link

CheneyH commented Aug 7, 2022

500应该是src/utils/jwt.ts里的secret没有配置

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

3 participants