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

Github 登陆失败 #16

Open
Yanhua67 opened this issue Jun 1, 2021 · 5 comments
Open

Github 登陆失败 #16

Yanhua67 opened this issue Jun 1, 2021 · 5 comments

Comments

@Yanhua67
Copy link

Yanhua67 commented Jun 1, 2021

首次使用github登陆时会进入404
本地的server是开着的
大佬还在吗
1

@qtzxly
Copy link

qtzxly commented Jan 20, 2022

我也是这样

@xjh22222228
Copy link
Owner

404 是因为授权成功后跳转的地址匹配不到路由。

解决方案是增加拦截代理,目前已加。

https://github.com/xjh22222228/tomato-work/blob/main/vite.config.ts#L18

@inspire-lts
Copy link

@xjh22222228 作者您好,我本地启动的时候不能显示验证码,所以我就用github登录。但是github登录,报错为Error: connect ECONNREFUSED 127.0.0.1:7003。请问作者能解决一下吗,俺想研究下您代码学习学习。

@xjh22222228
Copy link
Owner

@inspire-lts 本地需要服务也要启动,或者 npm run start:prod 直接连线上。

@inspire-lts
Copy link

@inspire-lts 谢谢已经解决。建议大佬在reademe写一下,才看见其他关闭的issue里也有人提到。

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

4 participants